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
Why is Cross Browser Testing Important?
Browser compatibility or cross-browser testing is a process of evaluating whether the functionality of a web application remains consistent when the end-user visits your w...
Read More
GBlog
TechTips
Software Engineering
Software Testing
Difference between Time Tracking Software and Employee Monitoring Software
1. Time Tracking Software :Time tracking software, as name suggests, is a software tool that is generally used to track all time that is being spent on tasks to complete p...
Read More
Difference Between
Software Engineering
Differences between Cassandra and Elasticsearch
1. Cassandra : Cassandra is designed to cope with massive quantities of records throughout many commodity servers, supplying excessive availability with no single factor o...
Read More
DBMS
Difference Between
14 Important Coding Rules to Learn from Great Developers
If you have never coded ever then you might be thinking that software development is all about writing a bunch of lines of code in some languages and then releasing it to ...
Read More
GBlog
Steps to Perform RCM
Reliability Centered Maintenance (RCM) is a process that is generally used to optimize maintenance programs simply in order to preserve reliability and function of system....
Read More
Software Engineering
Difference between RTS/CTS and DTR/DSR flow control
1. Request To Send/Clear To Send :RTS/CTS, as name suggests, is a flow mechanism in which Data Terminal Equipment (DTE) i.e. host assets or send RTS to Data Communication ...
Read More
Computer Networks
Difference Between
Count array elements having at least one smaller element on its left and right side
Given an array arr[] of length N, the task is to find the number of elements in array arr[] which contains at least one smaller element on its left and right.Examples:Inpu...
Read More
Arrays
Stack
DSA
Queries to check if count of increasing and decreasing subarrays is same in given range
Given an array arr[] consisting of N integers and an array Q[][], where each row is a query of the form {L, R}. The task for each query is to check if the count of increas...
Read More
Arrays
Misc
Greedy
Pattern Searching
subarray
DSA
Construct MEX array from the given array
Given an array arr[] having N distinct positive elements, the task is to generate another array B[] such that, for every ith index in the array, arr[], B[i] is the minimum...
Read More
Arrays
Greedy
Mathematical
Hash
Competitive Programming
C++ Programs
frequency-counting
counting-sort
DSA
Minimize increments or decrements required to make sum and product of array elements non-zero
Given an array arr[] of N integers, the task is to count the minimum number of increment or decrement operations required on the array such that the sum and product of all...
Read More
Arrays
Mathematical
array-rearrange
frequency-counting
DSA
Count N-length strings consisting only of vowels sorted lexicographically
Given an integer N, the task is to count all possible strings of length N consisting of vowels {a, e, i, o, u} that can be formed such that each string is sorted in lexico...
Read More
Strings
Dynamic Programming
Pattern Searching
Mathematical
Recursion
lexicographic-ordering
DSA
Minimize remaining array element by repeatedly replacing pairs by half of one more than their sum
Given an array arr[] containing a permutation of first N natural numbers. In one operation, remove a pair (X, Y) from the array and insert (X + Y + 1) / 2 into the array. ...
Read More
Arrays
Greedy
Mathematical
array-rearrange
DSA
Non-negative pairs with sum of Bitwise OR and Bitwise AND equal to N
Given an integer N, the task is to find all non-negative pairs (A, B) such that the sum of Bitwise OR and Bitwise AND of A, B is equal to N, i.e., (A | B) + (A B) = N.Exa...
Read More
Bit Magic
Greedy
Mathematical
Bitwise-OR
Bitwise-AND
Maths
DSA
Bitwise OR of sum of all subsequences of an array
Given an array arr[] of length N, the task is to find the Bitwise OR of the sum of all possible subsequences from the given array.Examples:Input: arr[] = {4, 2, 5}Output: ...
Read More
Arrays
Bit Magic
Mathematical
subsequence
prefix-sum
Bitwise-OR
DSA
Rearrange array elements excluded by given ranges to maximize sum of subarrays starting from the first index
Given an array arr[] consisting of N integers and an array Q[][], where each row denotes a range {l, r}(0 ? l ? r ? N - 1). The task is to find the maximum sum of all suba...
Read More
Arrays
Greedy
Sorting
array-rearrange
subarray
Data Structures
prefix-sum
C++ Programs
subarray-sum
DSA
1
...
6819
6820
6821
...
11204