Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.7K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Strings
2.1K+ articles
Greedy
1.4K+ articles
Sorting
1.1K+ articles
Dynamic Programming
1.1K+ articles
Searching
1.0K+ articles
Tree
911+ articles
DSA
20.5K+ posts
Recent Articles
Minimum String Value After K Removals
Last Updated: 01 July 2026
Given a string of lowercase alphabets and a number k, the task is to find the minimum value of the string after removal of âkâ characters. The value of a string is defined...
read more
DSA
Maximize Contest Score
Last Updated: 29 June 2026
Geekland is conducting a programming contest that lasts for n minutes.The contest contains en number of easy problems and hn number of hard problems.Geek will be awarded e...
read more
DSA
loop
Maths
DSA
Wine Buying and Selling
Last Updated: 01 July 2026
Given an integer array arr[] representing houses built along a straight line, each value arr[i] represents a certain number of wine bottles that a wants to buy or sell.If ...
read more
DSA
prefix
two-pointer-algorithm
DSA
Successful Penalty Conversions
Last Updated: 30 June 2026
A football match event log is represented by a string s consisting of characters '0', '1', and '2'.'2' represents a penalty awarded.'1' represents a successful penalty con...
read more
DSA
Sum of Consecutive Integers
Last Updated: 29 June 2026
Given two positive integers a and b, determine whether a can be expressed as the sum of b consecutive positive integers.Examples:Input: a = 5, b = 2Output: trueExplanation...
read more
DSA
Minimum Absolute Array Sum with Sign Change
Last Updated: 29 June 2026
Given an array arr[], you may flip the sign of any element (i.e., change a positive number to negative or vice versa) any number of times. Find the minimum possible absolu...
read more
DSA
Get the Diamond
Last Updated: 29 June 2026
Given two integers n and k, a diamond is located at the nth step. A person can jump either 1 step or k steps at a time. Find the minimum number of jumps required to reach ...
read more
DSA
Reading books
Last Updated: 01 July 2026
Given two arrays arr1[] and arr2[], and an integer k, where arr1[i] represents the time required to read a book of kind i once and arr2[i] represents the points earned aft...
read more
DSA
Geek's Art Collection
Last Updated: 29 June 2026
Geek owns n paintings, each with an estimated value. He wants to donate some of these paintings to a museum while keeping the rest in his private collection. To make the d...
read more
DSA
Sorting Two Arrays with Custom Comparator
Last Updated: 30 June 2026
Sorting with a Custom Comparator is a sorting technique used when elements need to be ordered based on user-defined criteria.It is commonly used for sorting records contai...
read more
DSA
Rearrange the Array
Last Updated: 25 June 2026
Consider an array a[] = [1, 2, 3, ..., n] and a permutation b[] of size n containing all integers from 1 to n exactly once.The array b[] defines a rearrangement operation....
read more
DSA
Special String Comparison
Last Updated: 30 June 2026
The priority order of characters in this problem is slightly different from the usual alphabet: whenever 'n' is immediately followed by 'g', the pair "ng" is treated as a ...
read more
DSA
Reach the Target Number
Last Updated: 21 June 2026
Given an array arr[] of exactly 4 integers and an integer target, determine whether target can be obtained by combining all 4 numbers using the operators +, -, *, and /, g...
read more
DSA
Largest Interval that is Covered by Array Elements
Last Updated: 21 June 2026
Given an array arr[] of integers, find out the biggest interval that has all its members in the given array. If multiple interval exist of largest size then return the int...
read more
DSA
Two Non-Overlapping subarrays With Target Sum
Last Updated: 20 June 2026
Given an array arr[] of size n and an integer k, find the minimum sum of lengths of two non-overlapping subarrays such that the sum of elements in each subarray is exactly...
read more
DSA
1
2
3
4
...
1366