- Binary Array Sorting
- Second Largest
- Reverse digit
- Roots of Quadratic Equation
- Palindrome
- Mean
- Missing number
- Form largest number from digits
- Check if date is valid
- Sum Palindrome
- Reverse a String
- Minimum number to form the sum even
- Pronic Number
- Merge two strings
- Sum of odd and even elements
- Bubble Sort
- Binary Search
- Add two fractions
- Minimum element in BST

Name

Anshu Ahirwar

Institution

IIT Bombay

Coding Score

1866

Problems Solved

767

Overall Rank: 7

Monthly Rank: 55466

Weekly Rank: 207645

- Frequency of Array Elements
- Maximum and Minimum Of Array Elements
- Sum Of Digits
- Maximum Occuring Character
- Factorial
- Sum of Array
- Palindrome String
- Armstrong Numbers
- 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
- Permutations of a given string
- 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
- Encrypt the string - 1
- 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
- Geeky Year
- Thief trying to escape
- Last index of One
- Common elements
- Uncommon characters
- Four Elements
- Largest Permutation
- Alternative Sorting
- Quick Left Rotation
- 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
- Boolean String Value
- Rearrange the array
- Sort first half in ascending and second half in descending
- Sum of two large numbers
- Absolute Difference of 1
- Remove common characters and concatenate
- 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
- Minimum Product of k Integers
- Maximize ∑arr[i]*i of an Array
- 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 Linked List
- Implement stack using array
- Implement Queue using Linked List
- Square root
- Print all nodes that don’t have sibling
- Insert a node in Doubly linked list
- Remove duplicate elements from sorted Array
- 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
- Ancestors in Binary Tree
- Delete Alternate Nodes
- Identical Linked Lists
- Merge Lists Alternatingly
- Find the Sum of Last N nodes of the Linked List
- Queue Reversal
- Triplet Family
- Sum of Binary Tree
- Sum of Leaf Nodes
- Pairwise Consecutive Elements

- Anagram
- Pascal Triangle
- Print Pattern
- Rotation
- 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
- GCD of Array
- Sum of Middle Elements of two sorted arrays
- First Repeating Element
- Reverse words in a given string
- Pythagorean Triplet
- Isomorphic Strings
- 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
- Stock buy and sell
- Maximum value in a bitonic array
- Next greater number set digits
- Finding Position
- Jumping Numbers
- Segregate even and odd nodes in a Linked List
- Longest Distinct characters in string
- 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
- Dearrangement of balls
- Reach a given score
- 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
- Arrange the Balls
- Count the Zeros
- 0 - 1 Knapsack Problem
- Longest Common Increasing Subsequence
- Pallindrome Patterns
- Valid Substring
- Count the Reversals
- Tom and Jerry
- 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
- Maximum value
- 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
- Optimal walk
- Least Prime Factor
- Number Game
- Time Difference
- Modified Fibonacci
- Euler Totient
- Max Length Removal
- 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
- Move all negative elements to end
- String Manipulation
- Reverse each word in a given string
- Maximum Sum Bitonic Subsequence
- Knapsack with Duplicate Items
- 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
- Evaluation of Postfix Expression
- Recursive sequence
- Rod Cutting
- Infix to Postfix
- 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
- Mobile numeric keypad
- 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
- Count all possible paths from top left to bottom right
- Minimum Deletions
- Shortest Common Supersequence
- Assign Mice Holes
- Sort by Absolute Difference
- Number and the Digit Sum
- First Digit of Product of Numbers
- Break a number
- Minimum insertions to sort an array
- Minimum number of deletions to make a sorted sequence
- Total digits
- Sum of Divisors in an array
- LCS of three strings
- Longest Geometric Progression
- Longest Repeating Subsequence
- Bell Numbers
- Compute sum of digits in all numbers from 1 to n
- 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
- Emirp numbers
- Carol Number
- 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
- Count the pairs with maximum difference
- Sequence Fun
- Numbers containing 1, 2 and 3
- Mean of range in array
- Number of subarrays whose minimum and maximum are same
- Find k-th missing element
- Incomplete Array
- Sum Indexes
- Count Primes In Range
- 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
- Pairwise swap elements of a linked list by swapping data
- Given a linked list of 0s, 1s and 2s, sort it.
- Add two numbers represented by linked lists
- Add 1 to a number represented as linked list
- Compare two linked lists
- Detect Loop in linked list
- Remove duplicates from an unsorted linked list
- Reverse a Doubly Linked List
- Insertion Sort
- Right View of Binary Tree
- K distance from root
- Maximum Width of Tree
- Diameter of Binary Tree
- Check for Balanced Tree
- n'th node from end of linked list
- Left View of Binary Tree
- Delete Middle of Linked List
- Merge two sorted linked lists
- 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
- 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
- Find nth element of spiral matrix
- Get minimum element from stack
- Is Binary Tree Heap
- Find Maximum value
- Multiply two linked lists
- Sorted subsequence of size 3
- Points in Straight Line
- Maximum Difference
- Check if Linked List is Palindrome
- Delete a Node in Single Linked List
- Find duplicates in an array
- Max Level Sum in Binary Tree
- Special Stack
- Three way partitioning
- Sort a stack
- Peak element
- Delete nodes greater than k
- Merge Sort for Linked List
- Union of Two Linked Lists
- Intersection of Two Linked Lists
- Split Singly Linked List Alternatingly
- Level of a Node in Binary Tree
- Sum of leaf nodes in BST
- Counting elements in two arrays
- Reverse a string using Stack
- Linked List that is Sorted Alternatingly
- Full binary tree
- Triplet with 0 sum in BST
- Huffman Decoding
- Huffman Decoding-1
- Count Pairs whose sum is equal to X
- Predecessor and Successor
- Leaves to DLL
- Children Sum Parent
- Reverse First K elements of Queue
- Sum of Right Leaf Nodes
- Sum of Left Leaf Nodes
- Check if two Nodes are Cousins

- Coin Change
- Kadane's Algorithm
- Find Missing And Repeating
- Sum Of Prime
- Number of Unique Paths
- Rank The Permutations
- Excel Sheet | Part - 1
- Maximum Sub Array
- Print Diagonally
- Wave Array
- Overlapping Intervals
- Binary String
- 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
- Longest Even Length Substring
- 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
- Relative Sorting
- Remove minimum elements
- Largest square formed in a matrix
- Design a tiny URL or URL shortener
- Nuts and Bolts Problem
- Number of ways
- Minimum Cost of ropes
- Form a palindrome
- Preorder to Postorder
- Maximum length Bitonic Subarray
- Length of the longest substring
- Smallest number on left
- Maximum Sum Path in Two Arrays
- Convert an array to reduced form
- M-Coloring Problem
- Subsequence matching
- Dimensions of Rectangle
- Handshakes
- Tic-Tac-Toe
- Is Binary Number Multiple of 3
- Preorder Traversal and BST
- Card Rotation
- Longest Arithmetic Progression
- Triplet Sum in Array
- Connecting Nodes
- Subsets with XOR value
- Max possible amount
- Maximum Profit
- Your Social Network
- Special Matrix
- Minimize the heights
- LCM Triplet
- Total Decoding Messages
- Unique BST's
- Subsets
- 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
- Hamiltonian Path
- Snake and Ladder Problem
- 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
- Substring - Subsequence problem
- Count of AP Subsequences
- Word Boggle
- Print leaf nodes from preorder traversal of BST
- Reverse Delete Algorithm for Minimum Spanning Tree
- 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
- Geek collects the balls
- 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
- Brackets in Matrix Chain Multiplication
- Matrix Chain Multiplication
- Special Numbers
- Carmichael Numbers
- Maximum bitonic subarray sum
- Maximum Tip Calculator
- Find the element at given index
- Next higher number in one swap
- Previous number in one swap
- Money Distributions
- 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
- Connect Nodes at Same Level
- 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
- Circular tour
- Wildcard Pattern Matching
- Max rectangle
- Make Binary Tree
- Check if subtree
- 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
- 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
- Largest Independent Set Problem
- Median of BST
- Number of Turns in Binary Tree
- Construct a Full Binary Tree

- Minimum Points To Reach Destination
- Maximum Index
- Minimum sum partition
- Maximum of minimum for every window size
- Head to Tail ordering
- Find Prime numbers in a range
- Largest Number formed from an Array
- 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
- A Simple Fraction
- Largest rectangle of 1’s with swapping of columns allowed
- Path of greater than equal to k length
- Nth digit of pi
- Rohan's Love for Matrix
- Create your own Calculator
- Number Formation
- X Total Shapes
- Longest valid Parentheses
- Print all LCS sequences
- Minimum Cost Path
- N-Queen Problem
- Solve the Sudoku
- Strongly connected component (Tarjans's Algo)
- Generalised Fibonacci numbers
- Find median in a stream
- Find the Maximum Flow
- Minimum number of elements
- Very Tough Problem
- Distinct palindromic substrings
- Similar expressions
- Phone directory
- Hexadecimal to decimal counter
- Numbers with one absolute difference
- Count the subarrays having product less than k
- QuickSort on Doubly Linked List
- Reorder List
- Binary Tree to DLL
- Tree from Postorder and Inorder
- AVL Tree Insertion
- Longest Palindromic Substring in Linear Time
- Alien Dictionary
- AVL Tree Deletion
- Nodes at given distance in binary tree
- Fixing Two nodes of a BST