Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
How to Write Spark UDF (User Defined Functions) in Python ?
In this article, we will talk about UDF(User Defined Functions) and how to write these in Python Spark. UDF, basically stands for User Defined Functions. The UDF will allo...
Read More
Python
Picked
Python-Pyspark
teachmedijkstra library in Python
Dijkstra’s algorithm is very similar to Prim’s algorithm for minimum spanning trees. Like Prim’s MST, we generate a SPT (shortest path tree) with a given source as root. W...
Read More
Dijkstra
Python
python-modules
How to Sort data by Column in a CSV File in Python ?
In this article, we will discuss how to sort CSV by column(s) using Python.Method 1: Using sort_values()We can take the header name as per our requirement, the axis can be...
Read More
Python
Picked
python-csv
Single Responsibility Principle in Java with Examples
SOLID is an acronym used to refer to a group of five important principles followed in software development. This principle is an acronym of the five principles which are g...
Read More
Java
Picked
Python Program to Subtract K from each digit
Given a list, the task is to write a Python Program to subtract K from each digit, if the element gets below 0, retain 0.Examples:Input : test_list = [2345, 8786, 2478, 86...
Read More
Python
Python Programs
Python list-programs
Python - Move all files from subfolders to main folder
This article will discuss how to move all files from the subfolder to the main folder using Python. The approach is simple it is similar to moving files from one folder to...
Read More
Python
Picked
Python directory-program
Java Program to Illustrate String Interpolation
String Interpolation is a process in which the placeholder characters are replaced with the variables (or strings in this case) which allow to dynamically or efficiently p...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Print a New Line in String
Java is the most powerful programming language, by which we can perform many tasks and Java is an industry preferable language. So it is filled with a huge amount of featu...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Convert String to String Array
Given a String, the task is to convert the string into an Array of Strings in Java. It is illustrated in the below illustration which is as follows:Illustration:Input: St...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Iterate Over Characters in String
Given string str of length N, the task is to traverse the string and print all the characters of the given string using java.Illustration:Input : str = “GeeksforGeeks”Out...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Convert String to InputStream
Given a string, the task is to convert the string to InputStream which is shown in the below illustrations.Illustration:Input : String : "Geeks for Geeks"Output : Input S...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Print Quotation Marks in a String
Double quotes are mainly used to indicate a string. When we print any string, the double quotes are not printed but only the value inside them is printed.Methods:Double qu...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Replace Multiple Characters in a String
In this program, we will be discussing various methods for replacing multiple characters in String. This can be done using the methods listed below:Using String.replace() ...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Convert String to Integer Array
Strings - Strings in Java are objects that are supported internally by a char array. Since arrays are immutable, and strings are also a type of exceptional array that hold...
Read More
Java
Java Programs
Picked
Java-String-Programs
Java Program to Convert Hex String to Byte Array
Hex String - A Hex String is a combination of the digits 0-9 and characters A-F, just like how a binary string comprises only 0's and 1's. Eg: "245FC" is a hexadecimal str...
Read More
Java
Java Programs
Picked
Java-Array-Programs
1
...
5900
5901
5902
...
11307