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
Complete DevOps Roadmap - Beginner to Advanced
DevOps is considered a set of practices that combines the abilities of Software Development i.e Dev and IT Operations i.e Ops together, which results in delivering top-not...
Read More
Spatial Operators, Dynamic Spatial Operators and Spatial Queries in DBMS
1. Spatial operators :Spatial operators these operators are applied in geometric properties of objects.It is then used in the physical space to capture them and the relati...
Read More
DBMS
Two-level scheduling in Operating Systems
Two-level scheduling is an efficient scheduling method that uses two schedulers to perform process scheduling. Let us understand it by an example : Suppose a system has 5...
Read More
Operating Systems
Operating Systems-CPU Scheduling
Picked
Minimum Sum of a pair at least K distance apart from an Array
Given an array of integers A[] of size N, the task is to find the minimum sum that can be obtained by any pair of array elements that are at least K indices apart from eac...
Read More
Arrays
Greedy
Searching
Mathematical
Suffix-Array
DSA
Maximize length of the String by concatenating characters from an Array of Strings
Find the largest possible string of distinct characters formed using a combination of given strings. Any given string has to be chosen completely or not to be chosen at al...
Read More
Arrays
Strings
Mathematical
Hash
subsequence
Recursion
HashSet
substring
DSA
Generic Routing Encapsulation (GRE) Tunnel
Generic Routing Encapsulation is a method of encapsulation of IP packet in a GRE header which hides the original IP packet. Also a new header named delivery header is adde...
Read More
Computer Networks
Computer Networks-Network Layer
Find the amplitude and number of waves for the given array
Given an array arr[] of N integers, the task is to find the amplitude and number of waves for the given array. If the array is not a wave array then print -1.Wave Array: A...
Read More
Arrays
Greedy
Mathematical
DSA
Find relative rank of each element in array
Given an array A[] of N integers, the task is to find the relative rank for each element in the given array.The relative rank for each element in the array is the count of...
Read More
Arrays
Stack
Greedy
Competitive Programming
cpp-stack
DSA
Largest string obtained in Dictionary order after deleting K characters
Given string str of length N and an integer K, the task is to return the largest string in Dictionary Order by erasing K characters from that string.A largest string Dicti...
Read More
Strings
Java
Stack
Greedy
deque
DSA
Maximum sum of any submatrix of a Matrix which is sorted row-wise and column-wise
Given a matrix mat[][] whose elements are sorted both row-wise and column-wise. The task is to find the maximum sum of any submatrix from the given matrix mat[][].Examples...
Read More
Arrays
Dynamic Programming
Sorting
Mathematical
Matrix
submatrix
DSA
Maximum count of pairwise co-prime and common divisors of two given numbers
Given an array of pairs arr[] of two numbers {N, M}, the task is to find the maximum count of common divisors for each pair N and M such that every pair between the common...
Read More
Mathematical
Competitive Programming
prime-factor
Prime Number
divisors
Maths
DSA
Find element with highest frequency in given nested Array
Given an array arr[] of N integers. The task is to create a frequency array freq[] of the given array arr[] and find the maximum element of the frequency array. If two ele...
Read More
Arrays
Hash
C++
frequency-counting
DSA
Wrap every continuous instance of given word with some given string
Given two string S1 and S2. The task is to wrap every instance of string S2 in string S1 with some string on either side.Note: Here we will use underscore(_) for the wrapp...
Read More
Strings
Pattern Searching
DSA
Finding the LCM and HCF of decimal numbers
Finding the LCM and HCF are most frequently asked questions in any competitive exams. Finding LCM and HCF for natural numbers are taught in our school level but in some ex...
Read More
Aptitude
GATE
Engineering Mathematics
GRE
Maximum number of envelopes that can be put inside other bigger envelopes
Given N number of envelopes, as {W, H} pair, where W as the width and H as the height. One envelope can fit into another if and only if both the width and height of one en...
Read More
Arrays
Palantir Technologies
Binary Search
Algorithms
Dynamic Programming
Searching
interview-preparation
LCS
Algorithms-Dynamic Programming
DSA
Length of largest subsequence consisting of a pair of alternating digits
Given a numeric string s consisting of digits 0 to 9, the task is to find the length of the largest subsequence consisting of a pair of alternating digits.An alternating d...
Read More
Strings
Greedy
Mathematical
subsequence
number-digits
School Programming
Numbers
DSA
1
...
7099
7100
7101
...
10993