Name

sagar28

Rank in Institute

#5

Courses Attended

Campus Ambassador

Overall Coding Score: 1367

Monthly Coding Score: 0

Weekly Coding Score: 0

- Power of 2
- Pythagorean Triplet
- Majority Element
- Permutations of a given string
- Missing number in array
- Number of paths
- Minimum difference pair
- Check if string is rotated by two places
- Find first set bit
- Check whether K-th bit is set or not
- Rightmost different bit
- Game of Function
- Power of Four
- Count Leaves in Binary Tree
- Height of Binary Tree
- Finding middle element in a linked list
- Square root
- Replace all 0's with 5
- Implement strstr
- Search a node in BST
- Minimum element in BST
- Maximum in Struct Array

- Frequencies of Limited Range Array Elements
- Anagram
- Number of Unique Paths
- Wave Array
- Maximum Gap
- Pattern Searching
- Print Pattern
- Rotation
- Search in a Rotated Array
- Rectangles in N*N Board
- Squares in N*N Chessboard
- Maximize Toys
- Trailing zeroes in factorial
- Non Repeating Character
- a^b(Set 2)
- Sum of Middle Elements of two sorted arrays
- First Repeating Element
- Reverse words in a given string
- 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
- Finding Number
- Next greater number set digits
- Finding Position
- Segregate even and odd nodes in a Linked List
- Element that appears once where every element occurs twice
- Longest Distinct characters in string
- Column name from a given column number
- N meetings in one room
- Remove Duplicates
- Maximum sum increasing subsequence
- Array to BST
- Triangular Number
- Key Pair
- Maximum Difference
- Product array puzzle
- Reverse Bits
- Reach the Nth point
- Subarray with given sum
- Leaders in an array
- Count number of hops
- Equal to product
- Count pairs with given sum
- Inorder Traversal and BST
- Cutting Rectangles
- Triplet Sum in Array
- Two Repeated Elements
- Three Great Candidates
- Reach a given score
- Overlapping rectangles
- Inverted triangle of stars
- Minimum element in a sorted and rotated array
- Search in a matrix
- Number Of Open Doors
- Largest number possible
- Missing element of AP
- Count the Zeros
- 0 - 1 Knapsack Problem
- Cutted Segments
- Power of Numbers
- Perfect Numbers
- Crack the series
- The Nth Fibonnaci
- Element appearing once
- Equilibrium point
- Floor in a Sorted Array
- Finding Profession
- Finding the numbers
- Min sum formed by digits
- Chocolate Distribution Problem
- Binary Tree K level sum
- Exit Point in a Matrix
- Maximum Sum Bitonic Subsequence
- 1[0]1 Pattern Count
- Flood fill Algorithm
- Roman Number to Integer
- Maximum no of 1's row
- Game of XOR
- Find Nth root of M
- Love For The Twins
- Minimum Operations
- Find all pairs with a given sum
- Excel Sheet | Part - 2
- Longest Palindromic Subsequence
- K-th element of two sorted Arrays
- Evaluation of Postfix Expression
- Common elements
- Element with left side smaller and right side greater
- Element in a Series
- Array Subset of another array
- Karatsuba Algorithm
- Divisible by 5 or not-1
- First negative integer in every window of size k
- Game with String
- Four Elements
- Paths to reach origin
- Subarray with 0 sum
- Group Anagrams Together
- Find the closest prime number to a given number
- Carry counter
- Count all possible paths from top left to bottom right
- Assign Mice Holes
- Painting the Fence
- Minimum Number in a sorted rotated array
- Primes sum
- Swapping pairs make sum equal
- Toppers Of Class
- Count of strings that can be formed using a, b and c under given constraints
- Nth item through sum
- String comparison
- Stickler Thief
- Even and odd elements at even and odd positions
- Find smallest values of x and y such that ax – by = 0
- Merging two unsorted arrays in sorted order
- Transform the array
- Common Subsequence
- Count the triplets
- Star elements
- Sum of two large numbers
- Prime number of set bits
- Pairs with Positive Negative values
- Numbers containing 1, 2 and 3
- Geek and his Tricky Series
- Non-Repeating Element
- Longest common prefix
- Arya and The Great War
- Swap the closest and farthest digits
- Nearest multiple of 10
- Remove leading zeros from an IP address
- Reorganize The Array
- Form a number divisible by 3 using array digits
- Check if array contains contiguous integers with duplicates allowed
- Cosmic Number
- Maximum height of the staircase
- Ease the Array
- Print this pattern!
- C++ Matrix Rotation by 180 degree
- Swap every two bits in bytes
- Check if a number is divisible by 8
- Minimum changes to make all substrings distinct
- Smallest greater elements in whole array
- Save Ironman
- Print adjacency list
- Pair with given sum in a sorted array
- 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
- Given a linked list of 0s, 1s and 2s, sort it.
- Add two numbers represented by linked lists
- Detect Loop in linked list
- Remove duplicates from an unsorted linked list
- Sorted insert for circular linked list
- Split a Circular Linked List into two halves
- Insertion Sort
- 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
- Nth node from end of linked list
- Left View of Binary Tree
- Delete Middle of Linked List
- Merge two sorted linked lists
- Sum Tree
- Decimal Equivalent of Binary Linked List
- Transform to Sum Tree
- Intersection of two sorted Linked lists
- Find Transition Point
- 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
- 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
- Lowest Common Ancestor in a BST
- Implement two stacks in an array
- Run Length Encoding
- 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
- Max sum in the configuration
- Unique rows in boolean matrix
- Remove every k'th node
- Validate an IP Address
- Josephus problem
- Check if Linked List is Palindrome
- Longest Consecutive Subsequence
- Check whether BST contains Dead End
- Delete a Node in Single Linked List
- Kth largest element in BST
- Find duplicates in an array
- Count distinct elements in every window
- Max Level Sum in Binary Tree
- Special Stack
- Root to leaf paths sum
- Three way partitioning
- Sort a stack
- Longest consecutive sequence in Binary tree
- Print Common Nodes in BST
- Level order traversal
- Peak element
- Inorder Successor in BST
- Delete nodes greater than k
- Index Of an Extra Element
- 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
- Root to Leaf Paths
- Maximum path sum
- Perfect Binary Tree
- Counting elements in two arrays
- Reverse a string using Stack
- Full binary tree
- Vertical sum
- Maximum Node Level
- Children Sum Parent
- Diagonal Sum In Binary Tree
- Find length of Loop
- Change of Key in BST
- Median of BST
- Reverse First K elements of Queue
- Sum of Leaf Nodes
- Sum of Right Leaf Nodes
- Sum of Left Leaf Nodes
- ZigZag Tree Traversal
- Sum of Leaf Nodes at Min Level
- Tilt of Binary Tree
- Matrix Interchange
- Predict the Column
- Structs and Objects
- Learning Structs
- Delete Array
- Min Heap implementation
- The Modified String
- Reverse words in a given string
- Minimum indexed character
- Pangram Checking

- Coin Change
- Kadane's Algorithm
- Find Missing And Repeating
- Sum Of Prime
- Excel Sheet | Part - 1
- 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)
- Edit Distance
- nCr
- Consecutive 1's not allowed
- Count of Subarrays
- Path in Matrix
- Trapping Rain Water
- Case-specific Sorting of Strings
- 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
- Jumping Numbers
- Longest Palindrome in a String
- Modular Exponentiation for large numbers
- Rearrange Array Alternately
- 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
- 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
- Minimum Cost of ropes
- Sum of Query II
- Form a palindrome
- Inversion of array
- Preorder to Postorder
- Length of the longest substring
- Longest consecutive subsequence
- Stock span problem
- Convert an array to reduced form
- Palindromic Array
- Betting game
- Is Binary Number Multiple of 3
- Preorder Traversal and BST
- Card Rotation
- Max possible amount
- Bleak Numbers
- Minimize the heights
- Next larger element
- X Total Shapes
- Total Decoding Messages
- Unique BST's
- Matchsticks game
- Kth smallest element
- Sum of Subarrays
- Longest Common Substring
- Rotate and delete
- Snake and Ladder Problem
- Recursively remove all adjacent duplicates
- Shortest Source to Destination Path
- Knight Walk
- Find all four sum numbers
- Word Boggle
- Print leaf nodes from preorder traversal of BST
- Distance of nearest cell having 1
- Find whether path exist
- Largest prime factor
- 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
- Stepping Numbers
- Water Overflow
- Zero Sum Subarrays
- Floyd Warshall
- Nearly Sorted Algorithm
- Infix to Postfix
- Smallest Positive missing number
- Longest Bitonic subsequence
- Maximum Intervals Overlap
- Array Pair Sum Divisibility Problem
- Job Sequencing Problem
- Page Faults in LRU
- Count possible ways to construct buildings
- N Digit numbers with digits in increasing order
- Rotten Oranges
- Longest Common Prefix in an Array
- Steps by Knight
- Row with minimum number of 1's
- Numbers with alternative 1's
- Matrix Chain Multiplication
- Maximum Tip Calculator
- Next higher palindromic number using the same set of digits
- Last two digits of Fibonacci
- Yes XOR No
- Container with most water
- Save Gotham!
- Lucky alive person in a circle
- Optimal Strategy For A Game
- 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
- 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
- Connect Nodes at Same Level
- 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
- 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
- Circular tour
- Make Binary Tree From Linked List
- Check if subtree
- Extreme nodes in alternate order
- Clone a Binary Tree
- Remove loop in Linked List
- Max length chain
- Minimum Spanning Tree
- Interleaved Strings
- Multiply two strings
- Bipartite Graph
- Number of root to leaf paths
- Find the Closest Element in BST
- Pots of Gold Game
- Delete keys in a Linked list
- Merge k Sorted Arrays
- Length of longest palindrome in linked list
- Print Nodes having K leaves
- Top View of Binary Tree
- k-th smallest element in BST
- Polynomial Addition
- Binary Tree to CDLL
- Find a pair with given target in BST
- Occurences of 2 as a digit
- Leftmost and rightmost nodes of binary tree
- Leaves to DLL
- Count Number of SubTrees having given Sum
- Swap Kth nodes from ends
- Smallest Positive missing number
- Unique BST's
- Unit Area of largest region of 1's
- Sorting Elements of an Array by Frequency
- Count ways to N'th Stair(Order does not matter)

- Minimum sum partition
- Head to Tail ordering
- Merge Without Extra Space
- Return two prime numbers
- Ugly Numbers
- Path of greater than equal to k length
- Create your own Calculator
- Longest valid Parentheses
- Minimum Cost Path
- Solve the Sudoku
- Longest Zig-Zag Sub Sequence
- Convert to Strictly increasing array
- Numbers with one absolute difference
- Count the subarrays having product less than k
- Binary Tree to DLL
- Alien Dictionary
- Fixing Two nodes of a BST