Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
ahampriyanshu
Current POTD Streak
STREAK
18
/1426
days
Longest streak/Global longest streak
Institution
Guru Nanak Dev Engineering College (GNDEC) Ludhiana
53 Rank
Institute Rank
Language Used
C++, Python, C, Java, Javascript
Coding Score
615
Problem Solved
226
Contest Rating
__
Apply for Campus Ambassador
1146 points
Contributor
1146 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
0 submissions in current year
Current
2024
2023
2022
2021
2020
January
February
March
April
May
June
SCHOOL (1)
BASIC (52)
EASY (64)
MEDIUM (96)
HARD (13)
Linked List Group Reverse
Binary Tree to DLL
Number of Turns in Binary Tree
Merge Without Extra Space
Count Smaller elements
Median in a row-wise sorted Matrix
Word Break - 2
Brackets in Matrix Chain Multiplication
Adventure in a Maze
Smallest Positive Integer that can not be represented as Sum
Longest substring to form a Palindrome
Minimum X (xor) A
Find number of closed islands
Rotate a Linked List
Detect Loop in linked list
QuickSort on Doubly Linked List
Count BST nodes that lie in a given range
Merge Sort
Diameter of a Binary Tree
Merge two sorted linked lists
Diagonal Tree Traversal
Largest subarray with 0 sum
Get Min from Stack
Sorted subsequence of size 3
Multiply two strings
Implement Atoi
Pots of Gold Game
Longest Palindrome in Linked List
Polynomial Addition
Delete nodes greater than k
Complete Binary Tree
C++ Generic sort
Swap Kth nodes from ends
Tower Of Hanoi
Rearrange an array with O(1) extra space
Stock buy and sell
Kadane's Algorithm
Count Inversions
Two Repeated Elements
Union of 2 Sorted with Duplicates
Merge Without Extra Space
Unit Area of largest region of 1's
Subarray with 0 sum
Case-specific Sorting of Strings
Minimum Platforms
M-Coloring Problem
Egg Dropping Puzzle
Longest Common Subsequence
Preorder to BST
X Total Shapes
Kth Smallest
Sort 0s, 1s and 2s
Form a palindrome
Nuts and Bolts Problem
Factorials of large numbers
Minimize the Heights II
First and Last Occurrences
Reaching the heights
Smaller on Left
Nine Divisors
Permutations of a String
Friends Pairing Problem
Lexicographically smallest string
Coin Change (Count Ways)
Firing employees
Number of ways
Brain Game
Subset Sums
Knight Walk
Choose and Swap
Fact Digit Sum
Find Prime numbers in a range
Count even length
Find the Safe Position
Smaller on Left
Matrix Exponentiation
Print leaf nodes from preorder traversal of BST
Satisfy the equation
Two numbers with odd occurrences
Find all distinct subset (or subsequence) sums
Queries on a Matrix
Shortest Uncommon Subsequence
Nodes at even distance
Count the paths
Jump Game
Iterative Postorder
Bellman-Ford
Coin Piles
Substrings of length k with k-1 distinct elements
Number of Provinces
Maximum sum leaf to root path
BST to greater sum tree
Rank The Permutations
Detect cycle in a directed graph
Longest Palindrome Substring
Find a pair with given target in BST
Strange Matrix
Levels Of Game
Smallest sum contiguous subarray
Minimum Cost to cut a board into squares
Stack Permutations
Replace every element with the least greater element on its right
Maximum selections
Number of Distinct Islands
Shortest Distance in a Binary Maze
Merging Details
Minimize number of Students to be removed
Maximum Value
Palindrome with minimum sum
Geek-onacci Number
Reverse a linked list
Remove duplicates from an unsorted linked list
Inorder Traversal
Insertion Sort
Check for BST
Height of Binary Tree
Kth from End of Linked List
Find Transition Point
Reverse Level Order Traversal
Square Root
Remove Duplicates Sorted Array
Josephus problem
Minimum distance in an Array
Array Duplicates
Level order traversal
Index of an Extra Element
Next Right Node
Get min at pop
Longest Consecutive 1's
Power of 2
Sum of upper and lower triangles
Print Matrix in snake Pattern
Rotate by 90 degree
Anagram
Strings Rotations of Each Other
Minimum Cost of ropes
N meetings in one room
Union of Arrays with Duplicates
Missing And Repeating
Find Kth Rotation
Common in 3 Sorted Arrays
Sum of elements between k1'th and k2'th smallest elements
Min sum formed by digits
Chocolate Distribution Problem
Alternate Positive Negative
Counts Zeros Xor Pairs
Two sum -Pairs with 0 Sum
Play With OR
Palindrome String
Maximum average subarray
Fitting The Array
Adding Array Elements
Number of 1 Bits
Midori and chocolates
Nearest Perfect Square
Minimum number of Coins
Find nth root of m
Tom and Jerry
Letters Collection
Modified Numbers and Queries
Sum of k smallest elements in BST
Print Diagonally
Maximum number of 2X2 squares
First and last occurrences of x
Silver and Gold
License Key Formatting
Stickler Thief
Wave Array
Find all possible paths from top to bottom
Minimum Sum of Absolute Differences of Pairs
Move Last Element to Front of a Linked List
Triangle and Square
Police Station
Rotate Array
Count Linked List Nodes
Size of Binary Tree
Count Leaves in Binary Tree
Postorder Traversal
Replace all 0's with 5
Preorder Traversal
Sum Except First and Last
Search a node in BST
Equal Sum and XOR
C++ STL | Set 8 (unordered set)
C++ Call by reference
Sort and Reverse Vector
Queue Push & Pop
Sum of diagonals
Decimal to binary
Array Search
Reverse a String
C++ Hello World
Doubling the value
Balanced Array
Check Arithmetic Progression
Elements in the Range
URLify a given string
Largest Element in Array
Rotate Array by One
Game with nos
Exceptionally odd
Min and Max in Array
Multiply left and right array sum
Print first letter of every word in the string
Red OR Green
XOR of all elements
Set kth bit
Factor OR Multiple
Maximum Area
Binary Shift to Divide
Check perfect square
Strong Numbers
Median of an Array
Find N-th term in the series
Special Series Sum
Common Divisors
Java 1-d and 2-d Array
Divide the number
Print 1 to n without using loops
Matching Pair
Anshuman's Favourite Number
Mind Game
Half N by M
Minimum difference pair
Sum of product of x and y with floor(n/x) = y
Reverse an Array
close
P
person_outline
Profile
description
Contributions
school
Colleges
business
Companies
people_outline
Campus Ambassadors
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 !