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
Validation Curve
Model validation is an important part of the data science project since want to select a model which not only performs well on our training dataset but also has good accur...
Read More
Machine Learning
python
Data Science
Check if given permutation of 1 to N can be counted in clockwise or anticlockwise direction
Given an integer array arr of size N which contains distinct elements from 1 to N. The task is to check if a position in the array can be found such that all numbers from ...
Read More
Arrays
Analysis of Algorithms
permutation
DSA
Maximize the numbers of splits in an Array having sum divisible by 3
Given an integer array arr of size N. The task is to find the maximum number of splits such that each split has sum divisible by 3. It is not necessary that all splits are...
Read More
Arrays
Dynamic Programming
Mathematical
divisibility
digit-DP
DSA
Maximum sum subarray of size range [L, R]
Given an integer array arr[] of size N and two integer L and R. The task is to find the maximum sum subarray of size between L and R (both inclusive).Example:Input: arr[] ...
Read More
Arrays
Greedy
Searching
subarray
sliding-window
prefix-sum
subarray-sum
DSA
First subarray with negative sum from the given Array
Given an array arr[] consisting of N integers, the task is to find the start and end indices of the first subarray with a Negative Sum. Print "-1" if no such subarray exis...
Read More
Arrays
Algorithms
Searching
Mathematical
Hash
Competitive Programming
subarray
HashTable
prefix-sum
cpp-map
subarray-sum
DSA
Find the angle of Rotational Symmetry of an N-sided regular polygon
Given an integer N which is the number of sides of a regular polygon. The task is to find the smallest angle of rotation such that the generated regular polygons have a si...
Read More
Mathematical
Geometric
DSA
Maximise number of cuts in a rod if it can be cut only in given 3 sizes
Given a rod of length N meters, and the rod can be cut in only 3 sizes A, B and C. The task is to maximizes the number of cuts in rod. If it is impossible to make cut then...
Read More
Dynamic Programming
Recursion
DSA
Largest odd divisor Game to check which player wins
Two players are playing a game starting with a number n. In each turn, a player can make any one of the subsequent moves:Divide n by any of its odd divisors greater than 1...
Read More
Algorithms
Mathematical
Competitive Programming
Game Theory
divisors
DSA
Generate an alternate increasing and decreasing Array
Given a string str of size N containing two types of character only that are "I" or "D". The task is to generate an array arr[0, 1, . . N] of size N + 1 satisfying the fol...
Read More
Arrays
Mathematical
C++ Programs
DSA
Solidity - Decision Making Statements
Decision making in programming is used when we have to adopt one out of a given set of paths for program flow. For this purpose, conditional statements are used which allo...
Read More
Solidity
Solidity Control-Flow
Blockchain
Check if an URL is valid or not using Regular Expression
Given a URL as a character string str of size N.The task is to check if the given URL is valid or not.Examples :Input : str = "https://www.geeksforgeeks.org/"Output : YesE...
Read More
Strings
Pattern Searching
python-regex
java-regular-expression
CPP-regex
Java-URL
regular-expression
DSA
View Recycling in Android with ListView
Memory management is a crucial aspect of app development. Since mobile devices have very limited memory, it is necessary to use it carefully in our applications. One of th...
Read More
Java
android 1
Write From Home
Android
Android-View
Configuration of Apache Tomcat Server with Eclipse IDE
In this article, we will discuss a step by step guide to setup Apache Tomcat server in Eclipse IDE. Eclipse IDE: Eclipse is an open-source Integrated Development Environme...
Read More
Java
java-advanced
Apache
How to Convert Pandas DataFrame into a List?
In this article, we will explore the process of converting a Pandas DataFrame into a List, We'll delve into the methods and techniques involved in this conversion, sheddin...
Read More
Python
Picked
Python-pandas
Python pandas-dataFrame
Different types of range-based for loop iterators in C++
Range-Based 'for' loops have been included in the language since C++11. It automatically iterates (loops) over the iterable (container). This is very efficient when used w...
Read More
cpp-references
C++
Loops & Control Structure
cpp-iterator
1
...
7995
7996
7997
...
11560