- Count nodes of linked list
- Node at a given index in linked list
- Delete node in Doubly Linked List
- Size of Binary Tree
- Inorder Traversal
- Count Leaves in Binary Tree
- Height of Binary Tree
- Finding middle element in a linked list
- Circular Linked List
- Postorder Traversal
- Implement Queue using array
- Remove duplicate elements from sorted Array
- Preorder Traversal
- Implement strstr
- Search a node in BST
- Remainder with 7
- Find triplets with zero sum
- Minimum element in BST
- Linked List Length Even or Odd?
- Delete Alternate Nodes
- Identical Linked Lists
- Queue Reversal
- Sum of Binary Tree
- Binary String
- LCM And GCD
- Power of 2
- Majority Element
- Sieve of Eratosthenes
- Shortest path from 1 to n
- Count possible triangles
- Dice throw
- Rotate Array
- Permutations of a given string
- Missing number in array
- Number of paths
- Count total set bits
- Number is sparse or not
- Immediate Smaller Element
- Count zero
- Number of occurrence
- Check if a number is power of another number
- Sum of all prime numbers between 1 and N.
- Ways To Tile A Floor
- Find the Odd Occurence
- Angle between hour and minute hand
- Rotating an Array
- Reverse array in groups
- Minimize the sum of product
- Help a Thief!!!
- Squares in a Matrix
- Sum of dependencies in a graph
- Sort in specific order
- Check if two arrays are equal or not
- Find first set bit
- Find first repeated character
- Find the element that appears once in sorted array
- Print an array in Pendulum Arrangement
- First element to occur k times
- Check whether K-th bit is set or not
- Uncommon characters
- Check if a string is Isogram or not
- Rightmost different bit
- Toggle bits given range
- Rectangle Number
- Sum of Digit Modified
- Find the fine
- Three distinct factors
- Minimum Product of k Integers
- Maximize ∑arr[i]*i of an Array
- Find the closest number
- Sum of f(a[i], a[j]) over all pairs in an array of n integers
- Ishaan Loves Chocolates
- Riya's Test
- Gray Code

Name

lonecoder

Rank in Institute

#1

Courses Attended

Overall Coding Score: 2310

Monthly Coding Score: 0

Weekly Coding Score: 0

- Reverse a linked list
- Rotate a Linked List
- Pairwise swap elements of a linked list
- Merge 2 sorted linked list in reverse order
- Detect Loop in linked list
- Merge Sort
- Quick Sort
- Right View of Binary Tree
- K distance from root
- Mirror Tree
- Two Mirror Trees
- Maximum Width of Tree
- Diameter of Binary Tree
- Check for Balanced Tree
- Left View of Binary Tree
- Merge two sorted linked lists
- Sum Tree
- Transform to Sum Tree
- Queue using two Stacks
- Remove duplicate element from sorted Linked List
- Stack using two queues
- Level order traversal in spiral form
- Reverse Level Order Traversal
- DFS of Graph
- Reverse alternate levels of a perfect binary tree
- Insert a node in a BST
- BFS of graph
- Lowest Common Ancestor in a Binary Tree
- Determine if Two Trees are Identical
- Root to leaf path sum
- Print all nodes that don't have sibling
- Postorder traversal from given Inorder and Preorder traversals
- Lowest Common Ancestor in a BST
- Implement two stacks in an array
- Largest subarray of 0's and 1's
- Level order traversal Line by Line
- Print BST elements in given range
- Largest subarray with 0 sum
- Minimum Depth of a Binary Tree
- Odd even level difference
- Binary Tree to BST
- K-Palindrome
- Find nth element of spiral matrix
- Unique rows in boolean matrix
- Leaf at same level
- Distinct occurrences
- Josephus problem
- You and your books
- Expression Tree
- Check if Linked List is Palindrome
- Max distance between same elements
- Print matrix in diagonal pattern
- Check whether BST contains Dead End
- Kth largest element in BST
- Find duplicates in an array
- Count distinct elements in every window
- Max Level Sum in Binary Tree
- Root to leaf paths sum
- Sort a stack
- Longest consecutive sequence in Binary tree
- Level order traversal
- Peak element
- Inorder Successor in BST
- Delete nodes greater than k
- Index Of an Extra Element
- Merge Sort for Linked List
- Union of Two Linked Lists
- Intersection of Two Linked Lists
- Ancestors in Binary Tree
- Level of a Node in Binary Tree
- Sum of leaf nodes in BST
- Maximum path sum
- Max and min element in Binary Tree
- Perfect Binary Tree
- Counting elements in two arrays
- Linked List that is Sorted Alternatingly
- XOR of a given range
- Full binary tree
- Triplet with 0 sum in BST
- Symmetric Tree
- Construct Tree from Inorder & Preorder
- Construct BST from Postorder
- Huffman Decoding
- Huffman Decoding-1
- Vertical sum
- Next Right Node
- Count Pairs whose sum is equal to X
- Check if Tree is Isomorphic
- pth common ancestor in BST
- Predecessor and Successor
- Maximum Node Level
- Children Sum Parent
- Diagonal Sum In Binary Tree
- Find length of Loop
- Change of Key in BST
- Median of BST
- Normal BST to Balanced BST
- Linked List Matrix
- Height of Spiral Tree
- Sum of Leaf Nodes
- Sum of Right Leaf Nodes
- Sum of Left Leaf Nodes
- Nodes at Odd Levels
- Closest Neighbor in BST
- Brothers From Different Roots
- Sum of the Longest Bloodline of a Tree (Sum of nodes on the longest path from root to leaf node)
- Exchange the Leaf Nodes
- Check if two Nodes are Cousins
- ZigZag Tree Traversal
- Sum of Leaf Nodes at Min Level
- Tilt of Binary Tree
- Vertical Width of a Binary Tree
- Need Some Change
- Count the Specials
- Matrix Interchange
- Predict the Column
- Number of Unique Paths
- Maximum Gap
- Pattern Searching
- Search in a Rotated Array
- Squares in N*N Chessboard
- Maximize Toys
- Trailing zeroes in factorial
- Non Repeating Character
- a^b(Set 2)
- Minimum number of Coins
- Sum of Middle Elements of two sorted arrays
- First Repeating Element
- Count Occurences of Anagrams
- Reverse words in a given string
- Count Substrings
- Move all zeroes to end of array
- Activity Selection
- Spirally traversing a matrix
- Sort an array of 0s, 1s and 2s
- Two numbers with sum closest to zero
- Maximum value in a bitonic array
- Next greater number set digits
- Finding Position
- Amount of Water
- Single Number
- Segregate even and odd nodes in a Linked List
- Element that appears once where every element occurs twice
- Longest Distinct characters in string
- Count distinct pairs with difference k
- Column name from a given column number
- Sum of Query I
- N meetings in one room
- Remove Duplicates
- Maximum sum increasing subsequence
- Array to BST
- Max Sum without Adjacents
- Key Pair
- Product array puzzle
- Reverse Bits
- Lucky Number
- Reach the Nth point
- Subarray with given sum
- Adjacents are not allowed
- Leaders in an array
- Swap all odd and even bits
- Count number of hops
- Count pairs with given sum
- Inorder Traversal and BST
- Cycle Race
- Cutting Rectangles
- Triplet Sum in Array
- Three Great Candidates
- Reach a given score
- Next in Series
- Overlapping rectangles
- Possible paths
- Search in a matrix
- Value of polynomial
- Number Of Open Doors
- Chinky and diamonds
- Shop in Candy Store
- Largest number possible
- 0 - 1 Knapsack Problem
- Longest Common Increasing Subsequence
- Skip the work
- Tom and Jerry
- Cutted Segments
- Minimum number of swaps needed
- Number that are not divisible
- Equilibrium point
- Floor in a Sorted Array
- Letter Writer
- Finding the numbers
- Sort by Set Bit Count
- Optimal walk
- Count Increasing Subsequences
- Maximize sum after K negations
- Max and Min Products
- LCS with permutations
- Game of cells
- Lucas Number
- Pairs with specific difference
- Mr. Binary
- Circle and Lattice Points
- Find (a^b)%m
- Min sum formed by digits
- Chocolate Distribution Problem
- Binary Tree K level sum
- Exit Point in a Matrix
- Maximum Sum Bitonic Subsequence
- Knapsack with Duplicate Items
- Sum of k smallest elements in BST
- Maximum no of 1's row
- Friends Pairing Problem
- Gold Mine Problem
- Find Nth root of M
- Sum of all substrings of a number
- Recaman’s sequence
- Minimum Operations
- Find all pairs with a given sum
- Shortest distance in infinite tree
- Largest zigzag sequence
- Meta Strings
- Temple Offerings
- Excel Sheet | Part - 2
- Find the string in grid
- Largest Fibonacci Subsequence
- Increasing Sub Sequence
- Longest Palindromic Subsequence
- K-th element of two sorted Arrays
- Evaluation of Postfix Expression
- Common elements
- Recursive sequence
- Rod Cutting
- Sequence of Sequence
- Modular multiplicative inverse
- Array Subset of another array
- Count the paths
- First negative integer in every window of size k
- Game with String
- Four Elements
- Paths to reach origin
- Subarray with 0 sum
- Get Minimum Squares
- Group Anagrams Together
- Count the elements
- Count all possible paths from top left to bottom right
- Minimum Deletions
- Shortest Common Supersequence
- Assign Mice Holes
- Largest Permutation
- BBT counter
- Swapping pairs make sum equal
- Count the number of ways to tile the floor of size n x m using 1 x m size tiles
- Minimum insertions to sort an array
- Minimum number of deletions and insertions.
- Minimum number of deletions to make a sorted sequence
- Minimum steps to delete a string
- Minimum steps to minimize n as per given condition
- Minimum number of deletions.
- Longest alternating subsequence
- Ways to sum to N
- Subset with sum divisible by m
- Count of strings that can be formed using a, b and c under given constraints
- Missing Point of a Parallelogram
- Broken blocks
- Find all distinct subset (or subsequence) sums
- Longest subsequence-1
- Sum of average of all subsets
- Maximum sum Problem
- Number of permutation with K inversions
- Minimum indexed character
- Find number of times a string occurs as a subsequence
- Minimum Cost To Make Two Strings Identical
- Longest Repeating Subsequence
- Stickler Thief
- Total number of non-decreasing numbers with n digits
- Minimum Swaps for Bracket Balancing
- Maximum Product Cutting
- Even and odd elements at even and odd positions
- Maximum sum of subarray less than or equal to x
- K-Ary Tree
- Count the triplets
- Chicks in a Zoo
- Sort the way !
- Carol Numbers
- Largest number in one swap
- Check if a Integer is power of 8 or not
- Geek and its Game of Coins
- Maximum value of expression
- Maximum prefix sum for a given range
- Numbers containing 1, 2 and 3
- Pairs with Difference less than K
- Mike and Chocolates
- Geek and his Tricky Series
- Close to Perfection
- Summed Matrix
- Fact Digit Sum
- Non-Repeating Element
- Find if string is K-Palindrome or not
- Number of pairs with maximum sum
- Longest common prefix
- Find winner of the Game of Nim
- Sum of all divisors from 1 to n
- Arya and The Great War
- Find out the Team
- Check if array contains contiguous integers with duplicates allowed
- Maximum height of the staircase
- Winner of an election
- Rope Cutting
- Ease the Array
- Amicable Pair
- Count ways to express N as the sum of 1,3 and 4
- Counts Zeros Xor Pairs
- Damon Prime
- Count pairs Sum in matrices
- C++ Matrix Rotation by 180 degree
- Print Binary Tree levels in sorted order
- Check if a number is divisible by 8
- Hungry Pizza Lovers
- Arya's Long String
- Ishaan and Sticks
- Find the closest pair from two arrays
- Charul and vessels
- Print Bracket Number
- Maximum number of partitions that can be sorted individually to make sorted
- Check if any valid sequence is divisible by M
- Minimum changes to make all substrings distinct
- Variation in Nim Game
- Sorting all array elements except one
- Smallest number with sum of digits as N and divisible by 10^N
- Reaching the heights
- Minimal moves to form a string
- Pair with given sum in a sorted array

- Reverse a Linked List in groups of given size.
- Delete nodes having greater value on right
- Quick Sort on Linked List
- Count BST nodes that lie in a given range
- Check for BST
- Tree from Postorder and Inorder
- Bottom View of Binary Tree
- Delete without head pointer
- Intersection Point in Y Shapped Linked Lists
- Add all greater values to every node in a BST
- Construct Binary Tree from Parent Array
- Connect Nodes at Same Level
- Clone a linked list with next and random pointer
- Flattening a Linked List
- Diagonal Traversal of Binary Tree
- Boundary Traversal of binary tree
- Delete a node from BST
- Detect cycle in a directed graph
- Detect cycle in an undirected graph
- Maximum difference between node and its ancestor
- Range Minimum Query
- The Celebrity Problem
- Topological sort
- Print a Binary Tree in Vertical Order
- Merge K sorted linked lists
- Find the number of islands
- Get minimum element from stack
- Serialize and Deserialize a Binary Tree
- Circular tour
- Max rectangle
- Make Binary Tree From Linked List
- Generate IP Addresses
- Check if subtree
- Extreme nodes in alternate order
- Kth element in Matrix
- Remove loop in Linked List
- Implementing Dijkstra | Set 1 (Adjacency Matrix)
- Max length chain
- Minimum Spanning Tree
- Largest BST
- Interleaved Strings
- Sum of permutations
- Box Stacking
- Count Palindromic Subsequences
- Minimum Swaps to Sort
- Count of distinct substrings
- Rat in a Maze Problem
- Max sum subarray by removing at most one element
- Number of root to leaf paths
- Find the Closest Element in BST
- Pots of Gold Game
- Delete keys in a Linked list
- Merge two BST 's
- Merge k Sorted Arrays
- Length of longest palindrome in linked list
- Print Nodes having K leaves
- Duplicate subtree in Binary Tree
- Top View of Binary Tree
- k-th smallest element in BST
- Polynomial Addition
- Euler Circuit in a Directed Graph
- Merge Sort on Doubly Linked List
- Find a pair with given target in BST
- Populate Inorder Successor for all nodes
- Construct expression tree
- K-Sum Paths
- Foldable Binary Tree
- Node at distance
- Mirror of a given node
- Pairs violating BST property
- Maximum path sum from any node
- Leaves to DLL
- Largest Independent Set Problem
- Right Sibling in Binary Tree
- Duplicate Subtrees
- Count Number of SubTrees having given Sum
- Swap Kth nodes from ends
- Add two numbers represented by Linked List
- Maximum sum of Non-adjacent nodes
- Smallest Positive missing number
- Trapping Rain Water
- Unique BST's
- Subarrays with equal 1s and 0s
- Sorting Elements of an Array by Frequency
- Longest consecutive subsequence
- Case-specific Sorting of Strings
- Coin Change
- Kadane's Algorithm
- Find Missing And Repeating
- Complement
- Sum Of Prime
- Excel Sheet | Part - 1
- Maximum Sub Array
- Print Diagonally
- Overlapping Intervals
- Maximum Index
- Equal Sum
- Next Permutation
- Longest Increasing Subsequence
- Parenthesis Checker
- Longest Common Subsequence
- Minimum number of jumps
- Count ways to reach the n'th stair
- Count ways to N'th Stair(Order does not matter)
- Egg Dropping Puzzle
- Edit Distance
- nCr
- Maximum Rectangular Area in a Histogram
- Longest Span with same Sum in two Binary arrays
- Min Coin
- Consecutive 1's not allowed
- Game of Chocolates
- Count of Subarrays
- Path in Matrix
- Trapping Rain Water
- String formation from substring
- Case-specific Sorting of Strings
- Sum of bit differences
- Subset Sum Problem
- Number of Coins
- Minimum Platforms
- Number following a pattern
- Stock buy and sell
- Largest Number formed from an Array
- Number of paths in a matrix with k coins
- Longest Palindrome in a String
- Modular Exponentiation for large numbers
- Rearrange Array Alternately
- Rearrange an array with O(1) extra space
- Relative Sorting
- Maximum of all subarrays of size k
- Largest square formed in a matrix
- Row with max 1s
- Boolean Matrix Problem
- Count Integral Points
- Sorting Elements of an Array by Frequency
- Design a tiny URL or URL shortener
- Nuts and Bolts Problem
- Special Keyboard
- Number of ways
- Dyck Path
- Minimum Cost of ropes
- Sum of Query II
- Form a palindrome
- Inversion of array
- Preorder to Postorder
- Length of the longest substring
- Smallest number on left
- Largest subsquare surrounded by ‘X’
- Maximum Sum Path in Two Arrays
- Stock span problem
- Convert an array to reduced form
- Minimum steps to get desired array
- Dimensions of Rectangle
- Handshakes
- Palindromic Array
- Betting game
- Unique partitions
- Is Binary Number Multiple of 3
- Possible groups
- Distributing Balls
- Maximum Sum Subsequence of length k
- Preorder Traversal and BST
- Card Rotation
- Longest Arithmetic Progression
- Subsets with XOR value
- Jumbled Strings
- Palindromic Strings
- Max possible amount
- Cost of Sweets
- Bleak Numbers
- Super Primes
- Divide and Subtract Game
- Number of pairs
- Smallest Sub-Array
- Coin Piles
- Satisfy the equation
- Maximum XOR subset
- Maximum Profit
- Circle of strings
- Nodes at even distance
- Special Matrix
- Minimize the heights
- Next larger element
- Composite and Prime
- Taking 1 out of 3 consecutives
- X Total Shapes
- Total Decoding Messages
- Unique BST's
- Distinct Transformations
- Subsets
- Matchsticks game
- Interesting Queries
- Combination Sum - Part 2
- Longest Prefix Suffix
- Kth smallest element
- Divisible by 8
- Sum of Subarrays
- Count Divisors of Factorial
- Maximum calorie
- Prime Factors and their Powers
- Find the pattern
- Longest Common Substring
- Count Number
- Count Palindrome Sub-Strings of a String
- Rotate and delete
- Negative weight cycle
- Hamiltonian Path
- Sonam Bewafa asks questions
- Count the Number of Full Binary Trees
- Minimums in Array
- Snake and Ladder Problem
- Recursively remove all adjacent duplicates
- Brain Game
- Shortest Source to Destination Path
- Number of Palindromic paths in a Matrix
- Replace O's with X's
- Knight Walk
- Find all four sum numbers
- Substring - Subsequence problem
- Count of AP Subsequences
- Word Boggle
- Max absolute difference
- Print leaf nodes from preorder traversal of BST
- Distance of nearest cell having 1
- Find whether path exist
- Largest prime factor
- Check Mirror in N-ary tree
- Unit Area of largest region of 1's
- Rearrange characters
- First non-repeating character in a stream
- Magical Box
- Count subsequences of type a^i b^j c^k
- Stepping Numbers
- Matrix Exponentiation
- Count in array
- K
^{th}largest element in a stream - Water Overflow
- Zero Sum Subarrays
- Smallest window in a string containing all the characters of another string
- Smallest distinct window
- Minimum number of steps to reach a given number.
- Floyd Warshall
- Huffman Encoding
- Nearly Sorted Algorithm
- Optimal binary search tree
- Smallest Absolute Difference
- Geek collects the balls
- Largest Sum Subarray of Size at least K
- Longest Bitonic subsequence
- Little Murph and knots
- Reverse Spiral Form of Matrix
- Maximum sum Rectangle
- Maximum Intervals Overlap
- Minimum Time
- Perfect Sum Problem
- Longest Path in a matrix
- Array Pair Sum Divisibility Problem
- Job Sequencing Problem
- Cows of FooLand
- Number of palindromic strings
- Page Faults in LRU
- Count possible ways to construct buildings
- Firing employees
- Min cut Square
- Image Multiplication
- N Digit numbers with digits in increasing order
- Rotten Oranges
- Mila and strings
- Modify array to maximize sum of adjacent differences
- Sisters and coins
- LCS of three strings
- Two water Jug problem
- Longest repeating and non-overlapping substring
- Longest Common Prefix in an Array
- Minimum cost to fill given weight in a bag
- Count even length
- Steps by Knight
- Median In a Row-Wise sorted Matrix
- In First But Second
- Row with minimum number of 1's
- Numbers with alternative 1's
- Longest common substring value of two numbers
- Coins and Game
- Matrix Chain Multiplication
- Maximum bitonic subarray sum
- Maximum Tip Calculator
- Maximum GCD Pair
- Money Distributions
- Count divisors of product of array elements
- Queries for counts of multiples in an array
- Series with largest GCD and sum equals to N
- Last two digits of Fibonacci
- Pizza Mania
- Killing Spree
- Yes XOR No
- Number of subarrays with maximum values in given range
- Count of Palindromic substrings in an Index range
- Fill the Tank
- Party in Town
- Lazy Pasha
- Longest subarray with sum divisible by K
- Subarrays with equal 1s and 0s
- Make Matrix Beautiful
- Longest Sub-Array with Sum K
- Pasha and Primes
- Sick Pasha
- Beautiful SubSequence
- The Fibonacci-prime number
- Santa Banta
- The Tiny Miny
- Sum of XOR of all pairs
- Save Winterfell
- Marks of PCM
- Pass the semester
- String Conversion
- Nitika and her queries
- Container with most water
- Save Gotham!
- Buying Vegetables
- The Painter's Partition Problem
- Aditya and his building blocks
- Shreyansh and his bits
- Minimum swaps and K together
- Maximize the sum of selected numbers from an array to make it empty
- Find the N-th character
- Large Factorials
- Part of it.
- Lucky alive person in a circle
- count special palindromic
- Akku and Arrays
- Rat Maze With Multiple Jumps
- Smaller on Left
- Possible paths between 2 vertices
- Optimal Strategy For A Game

- QuickSort on Doubly Linked List
- Reorder List
- Binary Tree to DLL
- AVL Tree Insertion
- Partition array to K subsets
- Alien Dictionary
- AVL Tree Deletion
- Nodes at given distance in binary tree
- Fixing Two nodes of a BST
- Minimum Points To Reach Destination
- Minimum sum partition
- Maximum of minimum for every window size
- Merge Without Extra Space
- Find sum of different corresponding bits for all pairs
- Return two prime numbers
- Allocate minimum number of pages
- Ugly Numbers
- Rohan's Love for Matrix
- nCr mod M | Part 1
- Longest valid Parentheses
- Print all LCS sequences
- Minimum Cost Path
- N-Queen Problem
- Strongly connected component (Tarjans's Algo)
- Generalised Fibonacci numbers
- Find median in a stream
- Distinct palindromic substrings
- Longest Zig-Zag Sub Sequence
- Convert to Strictly increasing array
- Count the subarrays having product less than k
- Queries on a Matrix
- Bike Racing
- Closest Palindrome