Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
S
cashsouravkr12
Current POTD Streak
STREAK
01
/1470
days
Longest streak/Global longest streak
Institution
Guru Tegh Bahadur Institute of Technology New Delhi
55 Rank
Institute Rank
Language Used
C++, C
Coding Score
724
Problem Solved
336
Contest Rating
__
Apply for Campus Mantri
38 points
Contributor
38 points
Contributor
1 Point
Proficient
Proficient
100 Point
Scholar
Scholar
1k Point
Master
Master
10k Point
Ace
Ace
50k Point
Find Your Place Among the Best
Explore Our Badge Program and Start Writing.
Start writing
How Badges Work
2 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
July
August
SCHOOL (2)
BASIC (67)
EASY (133)
MEDIUM (128)
HARD (6)
Sorting Elements of an Array by Frequency
Nearly Sorted Algorithm
Sort a linked list of 0s, 1s and 2s
Merge 2 sorted linked list in reverse order
Rearrange linked list in-place
Merge Sort
Bottom View of Binary Tree
Delete without head pointer
Heap Sort
Sum Tree
Tree Boundary Traversal
Directed Graph Cycle
Undirected Graph Cycle
LCA in Binary Tree
Two Stacks in an Array
The Celebrity Problem
Largest subarray with 0 sum
Vertical Tree Traversal
Find the number of islands
Max sum in the configuration
Get Min from Stack
Is Binary Tree Heap
Dijkstra Algorithm
Minimum Spanning Tree
Maximum Difference
Rat in a Maze Problem - I
Bipartite Graph
Merge k Sorted Arrays
Sort a stack
Top View of Binary Tree
Level order traversal
Peak element
Union of Two Linked Lists
Counting elements in two arrays
K Sum Paths
Children Sum in a Binary Tree
Sum of nodes on the longest path
Kth Ancestor in a Tree
Maximum sum of Non-adjacent nodes
Reverse array in groups
Smallest Positive Missing
Maximum occured integer
Wave Array
Rearrange Array Alternately
Rearrange an array with O(1) extra space
Rotate Array
Kadane's Algorithm
Majority Element
Binary Array Sorting
Two Repeated Elements
Union of 2 Sorted Arrays
Indexes of Subarray Sum
Search in a sorted Matrix
Subarray with 0 sum
Case-specific Sorting of Strings
Postfix Evaluation
Stock span problem
Next Greater Element
K Sized Subarray Maximum
Nearly sorted
Activity Selection
Fractional Knapsack
Job Sequencing Problem
Minimum Platforms
Minimum Jumps
Detect Cycle using DSU
Stickler Thief
Ways to Reach the n'th Stair
0 - 1 Knapsack Problem
Number of Unique Paths
Zero Sum Subarrays
Kth Smallest
Rotten Oranges
Print Anagrams Together
Sort 0s, 1s and 2s
Equal Sum
Count Occurences of Anagrams
Single Among Doubles
Search in Rotated Sorted Array
Max Score from Subarray Mins
Water Collection
Maximum Product Subarray
Row with max 1s
Nuts and Bolts Problem
Longest Subarray with Sum K
Max Sum without Adjacents
Reverse each word in a given string
k largest elements
Longest Substring with K Uniques
Valid Expression
Rod Cutting
Greater tower sum
First negative in every window of size k
First and Last Occurrences
Friends Pairing Problem
Largest prime factor
Minimum number of deletions and insertions
Sieve of Eratosthenes
Gold Mine Problem
Perfect Sum Problem
Knapsack with Duplicate Items
Maximum path sum in matrix
Partition Equal Subset Sum
Matchsticks game
Number of paths
Smaller on Left
Floyd Warshall
Geek and Number String
Restrictive Candy Crush
Iterative Inorder
Preorder traversal (Iterative)
Iterative Postorder
Subset Sum Problem
Subarrays with sum K
Remove K Digits
Clone a stack without using extra space
Number of Provinces
Farthest number
K-th Largest Sum Contiguous Subarray
Maximum Meetings in One Room
Shortest Distance in a Binary Maze
Cheapest Flights Within K Stops
Binary subarray with sum
Frog Jump
Minimal Cost
Geek's Training
Introduction to DP
Triangle Path Sum
Alien Dictionary
Trapping Rain Water
Histogram Max Rectangular Area
Find median in a stream
Minimum sum partition
Huffman Encoding
GeeksforGeeks New System
Winner of an election
Geek and his Marks
Geek-onacci Number
The Hiring Contest
Reverse a linked list
Frequency in a Linked List
Node at a given index in linked list
Linked list of strings forms a palindrome
Split a Linked List into two halves
Inorder Traversal
Reverse a Doubly Linked List
Right View of Binary Tree
Height of Binary Tree
Balanced Tree Check
Check If Circular Linked List
Left View of Binary Tree
Delete Middle of Linked List
Find Transition Point
Queue using two Stacks
Stack using two queues
DFS of Graph
BFS of graph
Square Root
Binary Search
Remove Duplicates Sorted Array
Equilibrium index of an array
Max distance between same elements
Array Duplicates
Special Stack
Three way partitioning
Index of an Extra Element
Reverse Using Stack
Delete Alternate Nodes
Find the Sum of Last N nodes of the Linked List
Queue Reversal
Reverse first K of a Queue
Sum of Leaf Nodes
Delete Mid of a Stack
Rotate doubly Linked List
Swap the array elements
Matrix Interchange
Predict the Column
Find the Frequency
Back to Front
Pair Sum in Vector
Frequency in Queue
Get min at pop
Longest Consecutive 1's
Frequencies in a Limited Array
Equilibrium Point
Array Leaders
Floor in a Sorted Array
Minimum Number in a sorted rotated array
Roof Top
Sum of upper and lower triangles
Print Matrix in snake Pattern
Transpose of Matrix
Anagram
Winner of an election
Reverse Words
Sum of numbers in string
Panagram Checking
Parenthesis Checker
Minimum indexed character
K largest elements
Minimum Cost of ropes
N meetings in one room
Count number of hops
First Repeating Element
Check Equal Arrays
Missing in Array
Intersection of Arrays with Distinct
Missing And Repeating
Maximum no of 1's row
Search in a Row-Column sorted matrix
Move All Zeroes to End
String Duplicates Removal
Equal Sum and Product
Missing number
String Manipulation
Chocolate Distribution Problem
Bitonic Point
Left most and right most index
Check if actual binary representation of a number is palindrome
Closing bracket index
Remove b and ac from a given string
Check if the number is balanced
Rearrange a string
Remove Duplicates
Facing the sun
Count Substrings
Twice Counter
Swap the closest and farthest digits
Second Largest
Two Sum - Pair with Given Sum
Number of occurrence
Reversing the equation
Modify the Array
Check if array is sorted
Two sum -Pairs with 0 Sum
Segregate 0s and 1s
Play With OR
Count the Zeros
Merge two binary Max heaps
Palindrome String
Total count
Search array with adjacent diff at most k
Pangram Strings
Print Bracket Number
Shop in Candy Store
Common Subsequence OldP
Find the Highest number
Armstrong Numbers
Pairs with Positive Negative values
Max Sum Subarray of size K
Ceil The Floor
Count Digits
Sum 1 to n Divisors
Find maximum number
Factorials Less than or Equal to n
Integral Root
Form a number divisible by 3 using array digits
Subtraction and two numbers
Sum of First N Natural Numbers
Tom and Jerry
Count all possible paths from top left to bottom right
Queue using stack
Binary Search in forest
First and last occurrences of x
Minimum Number
Print GFG n times
Geek left with No Food
Rotate Array
Sort String
Find Length of Linked List
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Queue using Linked List
Queue Using Array
Count zeros in a sorted matrix
Preorder Traversal
C++ STL | Set 8 (unordered set)
Play with an array
Minimum element in BST
Is Linked List Length Even?
Identical Linked Lists
Count Odd and Even
Sort and Reverse Vector
Front to Back
Stack designer
Queue Push & Pop
Set Operations
Print 1 To N Without Loop
Array Search
Sorted Array Search
First n Fibonacci
Binary Array Sorting
Sum of Array
Searching in an Array
Doubling the value
Print Elements of Array
Balanced Array
Change the string
Value equal to index value
Fighting the darkness
The problem of identical arrays
Reverse sub array
Quick Left Rotation
Swap kth elements
First 1 in a Sorted Binary Array
Max and Min Product from 2 Arrays
The Penalty Shootout
Find element at a given Index
Largest Element in Array
Rotate Array by One
Game with nos
Rotating an Array
Minimum number to form the sum even
Count of smaller elements
Min and Max in Array
Multiply left and right array sum
Print first letter of every word in the string
Red OR Green
Convert String to LowerCase
Reverse a String
Java Strings | Set 1
Addition of Two Numbers
LCM And GCD
Maximum Area
Find N-th term in the series
Sum of elements in a matrix
Sum of first n terms
The dice problem
Matching Pair
Mind Game
The Lazy Caterer's Problem
Sum of product of x and y with floor(n/x) = y
Pattern 8
Search in a 2D Matrix
Arrays (Sum of array)
close
S
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Mantri
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !