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
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
Maximum possible GCD after replacing at most one element in the given array
Given an array arr[] of size N 1. The task is to find the maximum possible GCD of the array by replacing at most one element.Examples:Input: arr[] = {6, 7, 8}Output: 2Rep...
Read More
Arrays
Dynamic Programming
Mathematical
GCD-LCM
DSA
Python | Selective casing in String
Sometimes, while working with Python, we can have a problem in which we need to perform the case change of certain characters in string. This kind of problem can come in m...
Read More
Python
Python string-programs
Sort mixed list in Python
Sometimes, while working with Python, we can have a problem in which we need to sort a particular list that has mixed data types. That it contains integers and strings and...
Read More
Python
Python Programs
Python list-programs
Python-sort
Python | Selective Merge in String list
Sometimes, while working with Python lists, we can have a problem in which we need to perform the merge operation. There can be various modifications to merge. One such ca...
Read More
Python
Python Programs
Python list-programs
Python: Check if a directory is empty
Python is a widely used general-purpose, high-level programming language. It provides many functionalities and one among them is checking whether a directory is empty or n...
Read More
Python
python-file-handling
Python OS-file-module
Python file-handling-programs
Python os-module-programs
Get Current directory in Python
In this article, we will cover How to Get and Change the Working Directory in Python. While working with file handling you might have noticed that files are referenced onl...
Read More
Python
python-file-handling
python-os-module
Python file-handling-programs
Python os-module-programs
Program to print Java List of Strings in Scala
A java list of strings can be returned from a Scala program by writing a user defined method of Java in Scala. Here, you don't even need to import any Scala’s JavaConversi...
Read More
Scala
Scala
scala-collection
Program to apply foreach() method on Java Set of integers in Scala
The method foreach() can be applied on Java set of integers in Scala by utilizing Scala's JavaConversions object. Moreover, here you need to use JavaConversions object as ...
Read More
Scala
Scala-Method
Scala
scala-collection
Remove all special characters from a singly Linked List
Given a singly linked list where each node represents a character including special characters, the task is to remove all the occurrences of special characters from the li...
Read More
Linked List
Data Structures
Traversal
DSA
Scala short <=(x: Long): Boolean
Short, a 16-bit signed integer (equivalent to Java's short primitive type) is a subtype of scala.AnyVal. The =(x: Long) method is utilized to return true if this value is ...
Read More
Scala
Scala-Method
Scala
Maximum possible array sum after performing the given operation
Given an array arr[] of size N, the task is to find the maximum sum of the elements of the array after applying the given operation any number of times. In a single operat...
Read More
Arrays
Dynamic Programming
DSA
Scala short <=(x: Float): Boolean
Short, a 16-bit signed integer (equivalent to Java's short primitive type) is a subtype of scala.AnyVal. The =(x: Float) method is utilized to return true if this value is...
Read More
Scala
Scala-Method
Scala
Java Nested Loops with Examples
A Nested loop means a loop statement inside another loop statement. That is why nested loops are also called "loop inside loop".Nested For loopfor ( initialization; condit...
Read More
loop
Java
Materialized views with Practical approach in Cassandra
In this article, we will discuss a practical approach in Cassandra. In Cassandra, the Materialized view handles the server-side de-normalization and in between the base ta...
Read More
DBMS
Apache
Role of Keys in Cassandra
In this article, we are going to discuss why keys are important and how they are work and different from relational databases. Keys are used for grouping and organizing da...
Read More
DBMS
Apache
1
...
8839
8840
8841
...
11204