Name

Raj Kumar Gautam

Rank in Institute

#1

Courses Attended

Overall Coding Score: 2324

Monthly Coding Score: 765

Weekly Coding Score: 8

- Print Linked List elements
- Size of Binary Tree
- Count Leaves in Binary Tree
- Height of Binary Tree
- Finding middle element in a linked list
- Implement Atoi
- Minimum element in BST
- Find the Sum of Last N nodes of the Linked List
- LCM And GCD
- Power of 2
- Nth Fibonacci Number
- Sieve of Eratosthenes
- Permutations of a given string
- Missing number in array
- Count total set bits
- Bit Difference
- Greater on right side
- Binary Array Sorting
- Union of two arrays
- Remove character
- Sum of all prime numbers between 1 and N.
- Ways To Tile A Floor
- Find the Odd Occurence
- Rotate by 90 degree
- Set Bits
- Find the element that appears once in sorted array
- Gray to Binary and Binary to Gray
- Print first n Fibonacci Numbers

- Reverse a linked list
- Rotate a Linked List
- Pairwise swap elements of a linked list
- Given a linked list of 0s, 1s and 2s, sort it.
- Add two numbers represented by linked lists
- linked list of strings forms a palindrome
- Detect Loop in linked list
- Reverse a Doubly 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
- Heap Sort
- Nth node from end of linked list
- Left View of Binary Tree
- Delete Middle of Linked List
- Merge two sorted linked lists
- Sum Tree
- Intersection of two sorted Linked lists
- Queue using two Stacks
- Remove duplicate element from sorted Linked List
- Stack using two queues
- Level order traversal in spiral form
- DFS of Graph
- BFS of graph
- Lowest Common Ancestor in a Binary Tree
- Determine if Two Trees are Identical
- Root to leaf path sum
- Lowest Common Ancestor in a BST
- Implement two stacks in an array
- Largest subarray with 0 sum
- Odd even level difference
- Remove every k'th node
- Multiply two linked lists
- Distinct occurrences
- Josephus problem
- Check if Linked List is Palindrome
- Max distance between same elements
- Longest Consecutive Subsequence
- Delete a Node in Single Linked List
- Count distinct elements in every window
- Special Stack
- Root to leaf paths sum
- Sort a stack
- Level order traversal
- Inorder Successor in BST
- Merge Sort for Linked List
- Union of Two Linked Lists
- Sum of leaf nodes in BST
- Reverse a string using Stack
- XOR of a given range
- Construct Tree from Inorder & Preorder
- Huffman Decoding
- Huffman Decoding-1
- Check if Tree is Isomorphic
- Find length of Loop
- Deletion and Reverse in Linked List
- Linked List Matrix
- Reverse First K elements of Queue
- ZigZag Tree Traversal
- Delete middle element of a stack
- Rotate doubly Linked List
- Learn to Comment
- Learning to be precise
- While loop- printTable
- Learning Macros
- Almost Equal -Java
- Consonants and Vowels check - Java
- Swap the objects
- Two Dimensional World
- Learning Structs
- Delete Array
- BigInteger Multiply
- BigInteger mod
- Find the Frequency
- Back to Front
- Pair Sum in Vector
- Get min at pop
- Deque Implementations
- Multimap Operations
- Pangram Checking
- Anagram
- Number of Unique Paths
- Print Pattern
- Squares in N*N Chessboard
- Maximize Toys
- Non Repeating Character
- Minimum number of Coins
- Sum of Middle Elements of two sorted arrays
- Count Occurences of Anagrams
- Move all zeroes to end of array
- Remove all duplicates from a given string
- Activity Selection
- Sort an array of 0s, 1s and 2s
- Two numbers with sum closest to zero
- Finding Number
- Finding Position
- Element that appears once where every element occurs twice
- Maximum Product Subarray
- N meetings in one room
- Maximum sum increasing subsequence
- Triangular Number
- Key Pair
- Maximum Difference
- Length Unsorted Subarray
- Multiply two polynomials
- Reach the Nth point
- Subarray with given sum
- Count numbers
- Swap all odd and even bits
- Count number of hops
- Count pairs with given sum
- Cycle Race
- Segregate 0s and 1s
- Triplet Sum in Array
- Two Repeated Elements
- Reach a given score
- Y shaped pattern
- Search in a matrix
- Fibonacci Sum
- Largest power of prime
- Chinky and diamonds
- Shop in Candy Store
- Largest number possible
- 0 - 1 Knapsack Problem
- Valid Substring
- Count the Reversals
- Tom and Jerry
- Number of ways to find two numbers
- Maximize The Cut Segments
- Number of distinct subsequences
- Game of Death in a circle
- Power of Numbers
- Ordering of strings
- Raju and coins
- Largest number with given sum
- The Nth Fibonnaci
- Equilibrium point
- Maximize Dot Product
- Flip Bits
- Finding the numbers
- Optimal walk
- Collecting Trees
- Game of cells
- Modified Fibonacci
- Find (a^b)%m
- Minimum Steps
- Maximum Sum Bitonic Subsequence
- Knapsack with Duplicate Items
- Reverse Coding
- Decode the pattern
- Roman Number to Integer
- Drive the car
- Friends Pairing Problem
- Next Greater Even Number
- Love For The Twins
- Sum of all substrings of a number
- Recaman’s sequence
- Minimum Operations
- Palindromic patitioning
- Meta Strings
- Longest Palindromic Subsequence
- K-th element of two sorted Arrays
- Evaluation of Postfix Expression
- Recursive sequence
- Subset with no pair sum divisible by K
- Two numbers with odd occurrences
- Sequence of Sequence
- Element in a Series
- Modular multiplicative inverse
- Array Subset of another array
- Karatsuba Algorithm
- First negative integer in every window of size k
- Length of longest subarray
- Sum of product of all pairs
- Four Elements
- Paths to reach origin
- Nth catalan number
- Number of divisors in a given range
- Count all possible paths from top left to bottom right
- Shortest Common Supersequence
- Assign Mice Holes
- Mr Modulo and Pairs
- Largest Permutation
- Primes sum
- Minimum steps to minimize n as per given condition
- Non-decreasing subsequence
- Ways to sum to N
- Maximum sum Problem
- Longest Repeating Subsequence
- Stickler Thief
- Minimum Swaps for Bracket Balancing
- Maximum Product Cutting
- Even and odd elements at even and odd positions
- Compute (a*b)%c
- Transform the array
- N’th Pentagonal Number
- Count the triplets
- Chicks in a Zoo
- Maximum prefix sum for a given range
- Beautiful Sequence
- Next Happy Number
- Find the smallest root
- Find the maximum number of handshakes
- Ritika's Money
- Find winner of the Game of Nim
- Arya and The Great War
- Mystic Falls School
- Form a number divisible by 3 using array digits
- Amicable Pair
- Easy string
- Hungry Pizza Lovers
- Akaash's Assignment
- Maximum sum of increasing order elements from n arrays
- Print Bracket Number
- Minimum changes to make all substrings distinct
- Variation in Nim Game
- Smallest number with sum of digits as N and divisible by 10^N
- Penalty Shooters
- Pair with given sum in a sorted array

- Given a linked list, reverse alternate nodes and append at the end
- 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
- Min distance between two given nodes of a Binary Tree
- Maximum difference between node and its ancestor
- Range Minimum Query
- The Celebrity Problem
- Topological sort
- Vertical Traversal of Binary Tree
- Merge K sorted linked lists
- Find the number of islands
- Get minimum element from stack
- Serialize and Deserialize a Binary Tree
- Circular tour
- Wildcard Pattern Matching
- Max rectangle
- Make Binary Tree From Linked List
- Generate IP Addresses
- Check if subtree
- Extreme nodes in alternate order
- Kth element in Matrix
- Clone a Binary Tree
- Remove loop in Linked List
- Implementing Dijkstra | Set 1 (Adjacency Matrix)
- Max length chain
- Minimum Spanning Tree
- Additive sequence
- Largest BST
- Interleaved Strings
- Sum of permutations
- Box Stacking
- Count Palindromic Subsequences
- Multiply two strings
- Minimum Swaps to Sort
- Strongly Connected Components (Kosaraju's Algo)
- Bipartite Graph
- 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
- Smallest range in K lists
- k-th smallest element in BST
- Polynomial Addition
- Euler Circuit in a Directed Graph
- Euler circuit and Path
- Merge Sort on Doubly Linked List
- Binary Tree to CDLL
- Find a pair with given target in BST
- Occurences of 2 as a digit
- Populate Inorder Successor for all nodes
- Construct expression tree
- K-Sum Paths
- Foldable Binary Tree
- Leftmost and rightmost nodes of binary tree
- Construct tree from Inorder and LevelOrder
- 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
- Construct Tree from Preorder Traversal
- Convert Level Order Traversal to BST
- Count Number of SubTrees having given Sum
- C++ Generic sort
- Operations on PriorityQueue
- Swap Kth nodes from ends
- Add two numbers represented by Linked List
- Maximum sum of Non-adjacent nodes
- Smallest Positive missing number
- Unique BST's
- Distance of nearest cell having 1
- Unit Area of largest region of 1's
- Subarrays with equal 1s and 0s
- Sorting Elements of an Array by Frequency
- Case-specific Sorting of Strings
- Count ways to N'th Stair(Order does not matter)
- Coin Change
- Kadane's Algorithm
- Find Missing And Repeating
- Complement
- Sum Of Prime
- Rank The Permutations
- 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
- Count of n digit numbers whose sum of digits equals to given sum
- Edit Distance
- Magic Triplets
- nCr
- Maximum Rectangular Area in a Histogram
- Longest Span with same Sum in two Binary arrays
- Min Coin
- Consecutive 1's not allowed
- Count of Subarrays
- Longest Even Length Substring
- Path in Matrix
- Trapping Rain Water
- Count Numbers in Range
- Case-specific Sorting of Strings
- Rank of Matrix
- Sum of bit differences
- Subset Sum Problem
- Maximize The Array
- Factorials of large numbers
- Number of Coins
- Minimum Platforms
- Number following a pattern
- Find Prime numbers in a range
- Stock buy and sell
- Largest Number formed from an Array
- Number of paths in a matrix with k coins
- Jumping Numbers
- Longest Palindrome in a String
- Modular Exponentiation for large numbers
- Rearrange Array Alternately
- Rearrange an array with O(1) extra space
- Concatenation of Zig-Zag String in ‘n’ Rows
- Relative Sorting
- Black and White
- 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
- Rotate a 2D array without using extra space
- Special Keyboard
- Number of ways
- Dyck Path
- Minimum Cost of ropes
- Power of Largest Prime
- Sum of Query II
- Form a palindrome
- Inversion of array
- Preorder to Postorder
- Maximum length Bitonic Subarray
- Length of the longest substring
- Smallest number on left
- Longest consecutive subsequence
- Largest subsquare surrounded by ‘X’
- Maximum Sum Path in Two Arrays
- Stock span problem
- Convert an array to reduced form
- M-Coloring Problem
- Minimum steps to get desired array
- Subsequence matching
- Dimensions of Rectangle
- Handshakes
- Tic-Tac-Toe
- Number to words
- Palindromic Array
- Betting game
- Unique partitions
- Is Binary Number Multiple of 3
- Possible groups
- Maximum Sum Subsequence of length k
- Preorder Traversal and BST
- Card Rotation
- Search Pattern
- Longest Arithmetic Progression
- Subsets with XOR value
- Jumbled Strings
- Palindromic Strings
- Max possible amount
- Cost of Sweets
- Bleak Numbers
- Super Primes
- Crazy Equations
- Number of pairs
- Smallest Sub-Array
- Coin Piles
- Maximum XOR subset
- Maximum Profit
- Digit multiplier
- Circle of strings
- Nodes at even distance
- Build the smallest
- Queries on Strings
- Your Social Network
- Largest number in K swaps
- 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
- Combination Sum
- Combination Sum - Part 2
- Word Break
- Longest Prefix Suffix
- Kth smallest element
- Divisible by 8
- 3 Divisors
- Sum of Subarrays
- Count Divisors of Factorial
- Maximum calorie
- Prime Factors and their Powers
- Find the pattern
- Longest Common Substring
- Count Palindrome Sub-Strings of a String
- Largest Divisibility Test
- 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
- Shortest Source to Destination Path
- Divisibility tree
- Number of Palindromic paths in a Matrix
- Trie | (Insert and Search)
- Replace O's with X's
- Partition a number into two divisible parts
- Knight Walk
- Find all four sum numbers
- Count of AP Subsequences
- Form coils in a matrix
- Max absolute difference
- Print leaf nodes from preorder traversal of BST
- Reverse Delete Algorithm for Minimum Spanning Tree
- Distance of nearest cell having 1
- Is Sudoku Valid
- Find whether path exist
- Largest prime factor
- Check Mirror in N-ary tree
- Unit Area of largest region of 1's
- Rearrange characters
- Express as sum of power of natural numbers
- First non-repeating character in a stream
- Kth Smallest Factor
- Count subsequences of type a^i b^j c^k
- Find the largest number
- Matrix Exponentiation
- Count in array
- K
^{th}largest element in a stream - Water Overflow
- Zero Sum Subarrays
- Magnet Array Problem
- Smallest window in a string containing all the characters of another string
- Smallest distinct window
- James Bond and Divisors
- Minimum number of steps to reach a given number.
- Floyd Warshall
- Huffman Encoding
- Nearly Sorted Algorithm
- Infix to Postfix
- Optimal binary search tree
- Smallest Absolute Difference
- Geek collects the balls
- Largest Sum Subarray of Size at least K
- Smallest Positive missing number
- Longest Bitonic subsequence
- Mobile numeric keypad
- Pyramid form
- Maximum sum Rectangle
- Maximum Intervals Overlap
- Minimum Time
- Word Wrap
- Perfect Sum Problem
- Longest Path in a matrix
- Array Pair Sum Divisibility Problem
- Job Sequencing Problem
- Top k numbers in a stream
- 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
- Prime factorization and geek number
- Modify array to maximize sum of adjacent differences
- Probability of Knight
- LCS of three strings
- Two water Jug problem
- Longest repeating and non-overlapping substring
- Count digit groupings of a number
- CamelCase Pattern Matching
- 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
- Smith Number
- Mail System Design
- Row with minimum number of 1's
- Numbers with alternative 1's
- Longest common substring value of two numbers
- Coins and Game
- Brackets in Matrix Chain Multiplication
- Matrix Chain Multiplication
- Sum-string
- Pairs of Non Coinciding Points
- Nine Divisors
- Maximum bitonic subarray sum
- Maximum Tip Calculator
- Maximum GCD Pair
- Alternate Vowel and Consonant String
- Print N-bit binary numbers having more 1’s than 0’s
- Next higher palindromic number using the same set of digits
- Series with largest GCD and sum equals to N
- Find the last digit when factorial of A divides factorial of B
- Last two digits of Fibonacci
- The Infinite String
- Pizza Mania
- Killing Spree
- Count of Palindromic substrings in an Index range
- Fill the Tank
- Lazy Pasha
- Longest subarray with sum divisible by K
- Subarrays with equal 1s and 0s
- Longest Sub-Array with Sum K
- Beautiful SubSequence
- The Fibonacci-prime number
- The Tiny Miny
- Letters Collection
- Sum of XOR of all pairs
- Marks of PCM
- Pass the semester
- String Conversion
- Nitika and her queries
- Geek and Strings
- Container with most water
- Save Gotham!
- Buying Vegetables
- The Painter's Partition Problem
- Minimum swaps and K together
- Maximize the sum of selected numbers from an array to make it empty
- Find the N-th character
- Lucky alive person in a circle
- Rat Maze With Multiple Jumps
- Construct binary palindrome by repeated appending and trimming
- Element left after performing alternate OR & XOR operation
- 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
- Maximum subset XOR
- Longest Palindromic Substring in Linear Time
- Alien Dictionary
- AVL Tree Deletion
- Fixing Two nodes of a BST
- Number of Turns in Binary Tree
- Solve the Sudoku
- Minimum Points To Reach Destination
- Minimum sum partition
- Maximum of minimum for every window size
- Merge Without Extra Space
- Next Smallest Palindrome
- Find sum of different corresponding bits for all pairs
- Return two prime numbers
- Allocate minimum number of pages
- A Simple Fraction
- Ugly Numbers
- Largest rectangle of 1’s with swapping of columns allowed
- Path of greater than equal to k length
- Create your own Calculator
- Number Formation
- Boolean Parenthesization
- Longest valid Parentheses
- Word Break - Part 2
- Minimum Cost Path
- N-Queen Problem
- Solve the Sudoku
- Strongly connected component (Tarjans's Algo)
- Generalised Fibonacci numbers
- Find median in a stream
- Travelling Salesman Problem
- Max Circular Subarray Sum
- Minimum number of elements
- Very Tough Problem
- Distinct palindromic substrings
- Longest Zig-Zag Sub Sequence
- Similar expressions
- Convert to Strictly increasing array
- Phone directory
- Numbers with one absolute difference
- Count the subarrays having product less than k
- Bike Racing
- Adventure in a Maze
- Closest Palindrome
- Minimum number to make median X