- Sum Of Digits
- Factorial
- Sum of Array
- Prime Number
- LCM And GCD
- Sum of Series
- Searching a number
- Power of 2
- Series AP
- Series GP
- Sort The Array
- Nth Fibonacci Number
- Sort a String
- Automorphic Number
- Print the Kth Digit
- Sieve of Eratosthenes
- Shortest path from 1 to n
- Count possible triangles
- Dice throw
- Rotate Array by n elements
- Fascinating Number
- Check if the number is Fibonacci
- Rearrange Array Alternately
- Missing number in array
- Maximum product of two numbers
- Value equal to index value
- Number of paths
- Boolean Matrix Problem
- Count numbers containing 4
- nth digit of Fibonacci
- Sum of distinct elements
- Max Sum without Adjacents
- Swap kth elements
- Intersection of two arrays
- Union of two arrays
- Number of occurrence
- k largest elements
- Pairs of prime number
- Leaders in an array
- Sum of Digits Divisibility
- Ways To Tile A Floor
- Factorial Number
- Find the remainder
- Total distance travelled in an array
- Sum of Products
- Cube root of a number
- Total count
- Product of Complex Numbers
- Sum of Digits Multiple
- Sum of primes
- Multiples Power
- Rotate by 90 degree
- Multiple in Table Tennis
- Set Bits
- Prime Factors
- Repeated sum of digits
- Sum of divisors
- Count Squares
- Nth Even Fibonacci Number
- Sum of Consecutives
- Disarium Number
- Pairs with given XOR
- Padovan Sequence
- Juggler Sequence
- No of Carry Operations
- Distance and Displacement
- Sum of elements between k1'th and k2'th smallest elements
- Minimize the sum of product
- Convert floating point to natural number
- Chocolate Distribution Problem
- Permutations in array
- String with numbers at its end
- Help a Thief!!!
- At least two greater elements
- Sum of product of x and y with floor(n/x) = y
- Drive the car
- Largest subarray with GCD one
- Squares in a Matrix
- Flying Jet
- Metro Problem
- King's War
- Check squares
- Sum of two Squares [Duplicate]
- Sum of dependencies in a graph
- Sort in specific order
- Check if two arrays are equal or not
- Check if divisible by 11
- Check if divisible by 4
- India's unique railway track
- Count rotations divisible by 4
- Check if divisible by 36
- Find first set bit
- Minimize sum of alternate product
- Find the safe position
- Check if the door is open or closed
- Find first repeated character
- Find difference between sum of diagonals
- Count even substrings
- Magical Number
- Geek and Coffee Shop
- A guy with a mental problem
- Fake Profile
- Check if divisible by 5
- Wrong Ball
- Magical String
- The Muskteers
- Index of first 1 in a sorted array of 0’s and 1’s
- Does array represent Heap
- Missing number in shuffled array
- Thief trying to escape
- Last index of One
- Uncommon characters
- Four Elements
- Largest Permutation
- Alternative Sorting
- Twice counter
- Shuffle integers
- Count triplets with sum smaller than X
- Total number of Strings
- Pell Number
- Find the Highest number
- Minimum sum of factors
- Closest Number
- First and last occurrences of X
- Positive and negative elements
- Rearrange the array
- Sort first half in ascending and second half in descending
- Sum of two large numbers
- Absolute Difference of 1
- Shortest un-ordered subarray
- Longest increasing subarray
- Rectangle Number
- Sum of Digit Modified
- Find k-th character in string
- Repeated Character
- Red OR Green
- Sort String
- Difference between highest and lowest occurrence
- Find unique element
- Make a string from another string
- An Easy problem
- Sum of first n terms
- Generate all cyclic permutations of a number
- Three distinct factors
- Number of compositions of a natural number
- Minimum rotations to unlock a circular lock
- Print Linked List elements
- 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
- Merge Sort
- Quick Sort
- Mirror Tree
- Two Mirror Trees
- Height of Binary Tree
- Heap Sort
- Finding middle element in a linked list
- Sum Tree
- Postorder Traversal
- Implement stack using array
- Square root
- Print all nodes that don’t have sibling
- Insert a node in Doubly linked list
- Replace all 0's with 5
- Preorder Traversal
- Search a node in BST
- Equal Sum and XOR
- Minimum distance between two numbers
- Multiply Matrices
- Find triplets with zero sum
- Level order traversal
- Linked List Insertion
- Insert in a Sorted List
- Delete Alternate Nodes
- Identical Linked Lists
- Merge Lists Alternatingly
- Find the Sum of Last N nodes of the Linked List
- Triplet Family
- Sum of Binary Tree
- Sum of Leaf Nodes

Name

Anshu Ahirwar

Institution

IIT Bombay

Coding Score

1438

Subjective Score

1

Problems Solved

627

Total Submissions

2602

Overall Rank: 23

Monthly Rank: 3

Weekly Rank: 5

- Anagram
- Pascal Triangle
- Print Pattern
- Search in a Rotated Array
- Parenthesis Checker
- Rectangles in N*N Board
- Squares in N*N Chessboard
- Palindrome numbers
- Merge Two Sorted Arrays
- Magic Number
- Consecutive elements
- Non Repeating Character
- Minimum number of Coins
- Sum of Middle Elements of two sorted arrays
- First Repeating Element
- Reverse words in a given string
- Pythagorean Triplet
- Move all zeroes to end of array
- Majority Element
- Spirally traversing a matrix
- Sort an array of 0s, 1s and 2s
- Subset Sum Problem
- Two numbers with sum closest to zero
- Number of Coins
- Finding Number
- Maximum value in a bitonic array
- Next greater number set digits
- Finding Position
- Segregate even and odd nodes in a Linked List
- Maximum Product Subarray
- N meetings in one room
- Maximum of all subarrays of size k
- Row with max 1s
- Segregate Even and Odd numbers
- Maximum sum increasing subsequence
- Array to BST
- Sum of two numbers represented as arrays
- Greater on right side
- Convert array into Zig-Zag fashion
- Make Number Odd
- Key Pair
- Inversion of array
- Maximum Difference
- Add Binary Strings
- Product array puzzle
- Length Unsorted Subarray
- Reverse Bits
- Count Smaller elements
- Subarray with given sum
- Count numbers
- Stock span problem
- Max rope cutting
- Count number of hops
- Count pairs with given sum
- Inorder Traversal and BST
- Next in Series
- Possible paths
- Minimum element in a sorted and rotated array
- Search in a matrix
- Faithful Numbers
- Fibonacci Sum
- Day of the week
- Check If two Line segments Intersect
- Count the Zeros
- 0 - 1 Knapsack Problem
- Longest Common Increasing Subsequence
- Pallindrome Patterns
- Valid Substring
- Count the Reversals
- Next Prime Palindrome
- Cutted Segments
- Lexicographically previous permutation
- Number of Heads
- Permutations and Sum
- Number that are not divisible
- Power of Numbers
- Next larger element
- Class Average
- Arithmetic Number
- Perfect Numbers
- Count digits in a factorial
- Crack the series
- Raju and coins
- Largest number with given sum
- GCD and Fibonacci Numbers
- Non Fibonacci Number
- Nth digit in sequence
- Collection of pens
- Number of solutions
- The Nth Fibonnaci
- Finding the numbers
- Least Prime Factor
- Time Difference
- Modified Fibonacci
- Euler Totient
- Adding Ones
- Kaprekar Number
- Keith Number
- Lucas Number
- Deficient Number
- Dr. Strange's powers
- Circle and Lattice Points
- Largest Even Number
- Count Pairs in an Array
- Sphenic Number
- Circular Prime Number
- Min Subsets with Consecutive Numbers
- Reverse each word in a given string
- Maximum Sum Bitonic Subsequence
- Special Factorial Number
- Sum of k smallest elements in BST
- Find sum of divisors
- Smallest factorial number
- Last non-zero digit in factorial
- Reverse Coding
- Flood fill Algorithm
- Pair with greatest product in array
- Kth Prime factor of a Number
- Decode the pattern
- Roman Number to Integer
- Last two digit fibonacci
- Maximum no of 1's row
- Friends Pairing Problem
- Decode the string
- Next Greater Even Number
- Gold Mine Problem
- Odd Game
- Sharing
- Seeds of a number
- Game of XOR
- Find Nth root of M
- Learn Geometry
- Long Long Decimal
- Love For The Twins
- Find the nth number in the sequence
- Minimum Operations
- Palindromic patitioning
- Numbers with same first and last digit
- Check if palindromic ignoring spaces
- Find the element that appears once in sorted array
- Playing with mobile numbers
- Increasing Sub Sequence
- Longest Palindromic Subsequence
- K-th element of two sorted Arrays
- Recursive sequence
- Rod Cutting
- Element with left side smaller and right side greater
- Element in a Series
- Transitive closure of a Graph
- Karatsuba Algorithm
- Smallest Positive missing number
- Longest Bitonic subsequence
- Count the paths
- Extract Maximum
- Game with String
- Get Minimum Squares
- Nth catalan number
- Group Anagrams Together
- Sum equals to Sum
- First Digit
- Find Pair Given Difference
- Sorted matrix
- Second most repeated string in a sequence
- Assign Mice Holes
- Number and the Digit Sum
- First Digit of Product of Numbers
- Break a number
- Total digits
- Sum of Divisors in an array
- LCS of three strings
- Longest Geometric Progression
- Merging two unsorted arrays in sorted order
- Smallest number by rearranging digits of a given number
- Power Of 2 and Subsequences
- Second Binary Digit
- Product Sum
- Maximum sum of subarray less than or equal to x
- Check a Integer is power of 3 or not
- Change all even bits in a number to 0
- Generate all palindromic numbers less than n
- Chocolate Station
- Common Subsequence
- Right angled triangles
- Boundary Elements of Matrix
- Maximum sum difference
- Count the triplets
- Star elements
- Maximum weight difference
- Three consecutive duplicates
- Chicks in a Zoo
- Base Equivalence
- First K Digits
- Carol Numbers
- Largest number in one swap
- Powers game
- Check if a Integer is power of 8 or not
- Maximize XOR
- First and last Bit
- Minimum product pair
- Product of factors of number
- Check if divisible by 10
- Divisible by 7
- Reversing the equation
- Pairs with Positive Negative values
- Numbers containing 1, 2 and 3
- Mean of range in array
- Number of subarrays whose minimum and maximum are same
- Reverse a linked list
- Occurence of an integer in a Linked List
- Delete N nodes after M nodes of a linked list
- Rotate a Linked List
- Given a linked list of 0s, 1s and 2s, sort it.
- Add 1 to a number represented as linked list
- Compare two linked lists
- Detect Loop in linked list
- Reverse a Doubly Linked List
- Insertion Sort
- Maximum Width of Tree
- Diameter of Binary Tree
- Check for Balanced Tree
- n'th node from end of linked list
- Delete Middle of Linked List
- Merge 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
- Reverse Level Order Traversal
- Depth First Traversal for a Graph
- Insert a node in a BST
- BFS traversal of graph
- 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 of 0's and 1's
- Level order traversal Line by Line
- Print BST elements in given range
- The Celebrity Problem
- Print a Binary Tree in Vertical Order
- Is Binary Tree Heap
- Sorted subsequence of size 3
- Check if Linked List is Palindrome
- Delete a Node in Single Linked List
- Find duplicates in an array
- Special Stack
- Sort a stack
- Peak element
- Delete nodes greater than k
- Merge Sort for Linked List
- Sum of leaf nodes in BST
- Counting elements in two arrays
- Reverse a string using Stack
- Triplet with 0 sum in BST
- Huffman Decoding
- Count Pairs whose sum is equal to X
- Predecessor and Successor
- Children Sum Parent
- Sum of Right Leaf Nodes
- Sum of Left Leaf Nodes

- Coin Change
- Kadane's Algorithm
- Find Missing And Repeating
- Sum Of Prime
- Number of Unique Paths
- Rank The Permutations
- Excel Sheet | Part - 1
- Print Diagonally
- Wave Array
- Next Permutation
- Longest Increasing Subsequence
- 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
- Magic Triplets
- nCr
- Maximum Rectangular Area in a Histogram
- Min Coin
- Consecutive 1's not allowed
- Next Smallest Palindrome
- Path in Matrix
- Trapping Rain Water
- Rank of Matrix
- Sum of bit differences
- Factorials of large numbers
- Minimum Platforms
- Longest Palindrome in a String
- Modular Exponentiation for large numbers
- Largest square formed in a matrix
- Design a tiny URL or URL shortener
- Nuts and Bolts Problem
- Number of ways
- Minimum Cost of ropes
- Preorder to Postorder
- Maximum length Bitonic Subarray
- M-Coloring Problem
- Subsequence matching
- Handshakes
- Tic-Tac-Toe
- Is Binary Number Multiple of 3
- Preorder Traversal and BST
- Longest Arithmetic Progression
- Triplet Sum in Array
- Connecting Nodes
- Subsets with XOR value
- Max possible amount
- Maximum Profit
- Minimize the heights
- LCM Triplet
- Total Decoding Messages
- Unique BST's
- Word Break
- Longest Prefix Suffix
- K’th smallest element
- Divisible by 8
- Count Divisors of Factorial
- Prime Factors and their Powers
- Longest Common Substring
- Largest Divisibility Test
- Rotate and delete
- Snake and Ladder Problem
- Shortest Source to Destination Path
- Trie | (Insert and Search)
- Replace O's with X's
- Partition a number into two divisible parts
- Knight Walk
- Substring - Subsequence problem
- Word Boggle
- Print leaf nodes from preorder traversal of BST
- Find whether path exist
- Length of largest region of 1's
- First non-repeating character in a stream
- Count subsequences of type a^i b^j c^k
- Stepping Numbers
- Find the largest number
- Convex Hull
- Kth largest element in a stream
- Floyd Warshall
- Optimal binary search tree
- Smallest Absolute Difference
- Reverse Spiral Form of Matrix
- Maximum sum Rectangle
- Job Sequencing Problem
- Factorial and numbers
- N Digit numbers with digits in increasing order
- Prime factorization and geek number
- Steps by Knight
- Median In a Row-Wise sorted Matrix
- Smith Number
- Mail System Design
- Matrix Chain Multiplication
- Special Numbers
- Carmichael Numbers
- Maximum bitonic subarray sum
- Find the element at given index
- Count divisors of product of array elements
- Series with largest GCD and sum equals to N
- Find the last digit when factorial of A divides factorial of B
- Biconnected Graph
- Reverse a Linked List in groups of given size.
- Delete nodes having greater value on right
- Count BST nodes that lie in a given range
- Check for BST
- Intersection Point in Y Shapped Linked Lists
- Add all greater values to every node in a BST
- Flattening a Linked List
- Delete a node from BST
- Detect cycle in a directed graph
- Detect cycle in an undirected graph
- Topological sort
- Find the number of islands
- Wildcard Pattern Matching
- Make Binary Tree
- Implementing Dijkstra | Set 1 (Adjacency Matrix)
- Minimum Spanning Tree
- Largest BST
- Interleaved Strings
- Sum of permutations
- Box Stacking
- Multiply two strings
- Strongly Connected Components (Kosaraju's Algo)
- Longest Consecutive Subsequence
- Bipartite Graph
- Max sum subarray by removing at most one element
- Delete keys in a Linked list
- Merge two BST 's
- Merge k Sorted Arrays
- Bridge Edge in Graph
- Top View of Binary Tree
- k-th smallest element in BST
- Polynomial Addition
- Inorder Successor in BST
- Euler Circuit in a Directed Graph
- Euler circuit and Path
- Find a pair with given target in BST
- Median of BST
- Number of Turns in Binary Tree

- Minimum Points To Reach Destination
- Maximum Index
- Find Prime numbers in a range
- Find sum of different corresponding bits for all pairs
- Rearrange an array with O(1) extra space
- Return two prime numbers
- Sorting Elements of an Array by Frequency
- Path of greater than equal to k length
- Rohan's Love for Matrix
- Create your own Calculator
- X Total Shapes
- Longest valid Parentheses
- Minimum Cost Path
- N-Queen Problem
- Solve the Sudoku
- Strongly connected component (Tarjans's Algo)
- Find median in a stream
- Distinct palindromic substrings
- Phone directory
- Reorder List
- Binary Tree to DLL
- Tree from Postorder and Inorder
- AVL Tree Insertion
- Alien Dictionary
- AVL Tree Deletion
- Nodes at given distance in binary tree
- Fixing Two nodes of a BST