Name

Harsh Tyagi

Institution

Rank in Institute

#2

Courses Attended

Other Profile Link

Overall Coding Score: 1555

Monthly Coding Score: 13

Weekly Coding Score: 0

- Count nodes of linked list
- Size of Binary Tree
- Inorder Traversal
- Bubble Sort
- Count Leaves in Binary Tree
- Selection Sort
- Height of Binary Tree
- Finding middle element in a linked list
- Postorder Traversal
- Implement stack using array
- Square root
- Replace all 0's with 5
- Count zeros in a sorted matrix
- Preorder Traversal
- Implement strstr
- Search a node in BST
- Remainder with 7
- Find Number of Numbers
- Minimum element in BST
- Linked List Length Even or Odd?
- Identical Linked Lists
- Sum of Binary Tree
- Count Non-Leaf Nodes in Tree
- Sort and Reverse Vector
- Start Coding - Python
- Space Seperated - Python
- Concatenating Strings - Python
- Taking input - Python
- Comparison Operators - Python
- Check if a string is Isogram or not
- Consecutive elements
- GCD of Array
- Sort a String
- Shortest path from 1 to n
- Count total set bits
- Number is sparse or not
- Immediate Smaller Element
- Sum of distinct elements
- Binary Array Sorting
- Union of two arrays
- Remove character
- Number of occurrence
- k largest elements
- Maximum money
- Generate Binary Numbers
- Smallest number
- Rotate by 90 degree
- Minimize the sum of product
- Reverse each word in a given string
- Starting Point
- Squares in a Matrix
- Find first and last occurrence of x
- Sum of dependencies in a graph
- Sort in specific order
- Check if two arrays are equal or not
- Unique Numbers
- XOR of all elements
- Check if divisible by 4
- Sort the fest
- Index of first 1 in a sorted array of 0’s and 1’s
- Does array represent Heap
- Find the element that appears once in sorted array
- Last index of One
- Transpose of Matrix
- First element to occur k times
- Extract Maximum
- Uncommon characters
- Sum of numbers in string
- Find the smallest and second smallest element in an array
- Find minimum and maximum element in an array
- Find second largest element
- Sorted matrix
- Determinant of a Matrix
- Swap and Maximize
- Sort the Half Sorted
- Twice counter
- First K natural numbers
- Remove repeated digits in a given number
- Sum of distinct elements for a limited range
- Total number of Strings
- Find the Highest number
- Repeated Character
- Merge two strings
- Red OR Green
- Sort String
- Find unique element
- Find the fine
- One's Complement
- Sort the string in descending order
- Floating point number even or odd
- Find sum of even factors of a number
- The problem of identical arrays
- Message Spreading
- Sum of f(a[i], a[j]) over all pairs in an array of n integers
- Ishaan Loves Chocolates
- Confused pappu
- Height of Heap

- Occurence of an integer in a Linked List
- Insertion Sort
- Right View of Binary Tree
- K distance from root
- Mirror Tree
- Two Mirror Trees
- Diameter of Binary Tree
- Check for Balanced Tree
- Heap Sort
- Left View of Binary Tree
- Delete Middle of Linked List
- Merge two sorted linked lists
- Transform to Sum Tree
- Find Transition Point
- Remove duplicate element from sorted Linked List
- Level order traversal in spiral form
- Reverse Level Order Traversal
- DFS of Graph
- Insert a node in a BST
- BFS of graph
- Determine if Two Trees are Identical
- Lowest Common Ancestor in a BST
- Run Length Encoding
- Print BST elements in given range
- Largest subarray with 0 sum
- Minimum Depth of a Binary Tree
- Remove duplicates in small prime array
- Odd even level difference
- Binary Tree to BST
- Max sum in the configuration
- Is Binary Tree Heap
- Match specific pattern
- Multiply two linked lists
- Distinct occurrences
- Josephus problem
- Expression Tree
- Maximum Difference
- Max distance between same elements
- Kth largest element in BST
- Max Level Sum in Binary Tree
- Special Stack
- Root to leaf paths sum
- Sort a stack
- Print Common Nodes in BST
- Level order traversal
- Peak element
- Delete nodes greater than k
- Index Of an Extra Element
- Merge Sort for Linked List
- Convert Ternary Expression to Binary Tree
- Union of Two Linked Lists
- Level of a Node in Binary Tree
- Sum of leaf nodes in BST
- Counting Sort
- Max and min element in Binary Tree
- Perfect Binary Tree
- Counting elements in two arrays
- Reverse a string using Stack
- XOR of a given range
- Full binary tree
- Symmetric Tree
- Construct Tree from Inorder & Preorder
- Huffman Decoding
- Huffman Decoding-1
- Check if Tree is Isomorphic
- Maximum Node Level
- Children Sum Parent
- Diagonal Sum In Binary Tree
- Median of BST
- Leaf under budget
- Reverse First K elements of Queue
- Remove Half Nodes
- Sum of Leaf Nodes
- Sum of Right Leaf Nodes
- Closest Neighbor in BST
- Check if two Nodes are Cousins
- Tilt of Binary Tree
- Delete middle element of a stack
- Vertical Width of a Binary Tree
- Learn to Comment
- Predict the Column
- Learning Structs
- Get min at pop
- Multimap Operations
- Repetitive Printing - Python
- Operators in Python
- Comment in Python
- Logical Operators - Python
- Increment and Decrement - Python
- Bitwise Operators - Python
- Is and In Operator
- sep and end in Print()
- Mother Vertex
- Union of Two Sorted Arrays
- Subarray with 0 sum
- Winner of an election
- Reverse words in a given string
- Minimum indexed character
- Pangram Checking
- Frequencies of Limited Range Array Elements
- Anagram
- Number of Unique Paths
- Print Pattern
- Squares in N*N Chessboard
- Maximize Toys
- Non Repeating Character
- Minimum number of Coins
- Distinct Substrings
- Good Pairs
- First Repeating Element
- Reverse words in a given string
- Count Substrings
- Move all zeroes to end of array
- Remove all duplicates from a given string
- Activity Selection
- Remove “b” and “ac” from a given string
- Sort an array of 0s, 1s and 2s
- Maximum value in a bitonic array
- Next greater number set digits
- Finding Position
- Replace by X
- Column name from a given column number
- N meetings in one room
- Remove Duplicates
- Array to BST
- Facing the sun
- Triangular Number
- Maximum Difference
- Add Binary Strings
- Multiply two polynomals
- Reverse Bits
- Count Smaller elements
- Count numbers
- Leaders in an array
- Swap all odd and even bits
- Count number of hops
- Two Repeated Elements
- Reach a given score
- Next in Series
- Minimum element in a sorted and rotated array
- Search in a matrix
- Fibonacci Sum
- Largest power of prime
- Largest number possible
- Missing element of AP
- Count the Zeros
- Distinct absolute array elements
- 0 - 1 Knapsack Problem
- Skip the work
- Valid Substring
- Count the Reversals
- Tom and Jerry
- Right most non zero digit
- Last Match
- Special array reversal
- Number of ways to find two numbers
- Game of Death in a circle
- Power of Numbers
- Ball coloring
- Ordering of strings
- Change Bits
- GCD and Fibonacci Numbers
- Non Fibonacci Number
- Permutation with Spaces
- Element appearing once
- Floor in a Sorted Array
- Least Prime Factor
- Game of cells
- Equal 0, 1 and 2
- Min Number of Flips
- Largest Even Number
- Count Pairs in an Array
- Find (a^b)%m
- Min sum formed by digits
- Min Subsets with Consecutive Numbers
- String Manipulation
- Coverage of all Zeros in a Binary Matrix
- 1[0]1 Pattern Count
- Make Zeroes
- Sum of k smallest elements in BST
- Smallest factorial number
- Last non-zero digit in factorial
- Reverse Coding
- Decode the pattern
- Last two digit Fibonacci
- Maximum no of 1's row
- Friends Pairing Problem
- Love For The Twins
- Sum of all substrings of a number
- Recaman’s sequence
- Minimum Operations
- Check if frequencies can be equal
- Shortest distance in infinite tree
- Meta Strings
- Check if palindromic ignoring spaces
- Excel Sheet | Part - 2
- Largest Fibonacci Subsequence
- K-th element of two sorted Arrays
- Evaluation of Postfix Expression
- Maximum difference Indexes
- Common elements
- Recursive sequence
- Rod Cutting
- Efficiently sorting numbers in range from 0 to n^2 - 1
- Array Subset of another array
- Karatsuba Algorithm
- Divisible by 5 or not-1
- First negative integer in every window of size k
- Paths to reach origin
- Group Anagrams Together
- Count the elements
- Second most repeated string in a sequence
- Reverse vowels in a given string
- Shortest Common Supersequence
- Sort the given array after applying the given equation
- Assign Mice Holes
- Nth number made of prime digits
- Large number division
- Mr Modulo and Pairs
- Rearrange a string
- Minimum Number in a sorted rotated array
- Largest Permutation
- Divisibility by 999
- Fibonacci Expression
- Swapping pairs make sum equal
- String Ignorance
- Minimum number of deletions.
- Replace a word
- Bitonic Generator Sort
- Count of strings that can be formed using a, b and c under given constraints
- Sum of average of all subsets
- Maximum sum Problem
- Minimum indexed character
- Find the most frequent digit
- Compute (a*b)%c
- Merging two unsorted arrays in sorted order
- N’th Pentagonal Number
- Maximum possible sum
- Common Subsequence
- Boundary Elements of Matrix
- Carol Numbers
- Divisible by 7
- Reversing the equation
- Numbers containing 1, 2 and 3
- GeeksforGeeks New System
- Winner of an election
- Non-Repeating Element
- Closing bracket index
- Roof Top
- Pairs which are Divisible by 4
- Find winner of the Game of Nim
- Nearest multiple of 10
- Remove leading zeros from an IP address
- Add two numbers represented by two arrays
- The invariable units digit
- Word with maximum frequency
- Form a number divisible by 3 using array digits
- Check if array contains contiguous integers with duplicates allowed
- Rearrange an array such that arr[i] = i
- Winner of an election
- Rope Cutting
- Amicable Pair
- Counts Zeros Xor Pairs
- String Modification
- Easy string
- C++ Matrix Rotation by 180 degree
- Print Binary Tree levels in sorted order
- Check if a number is divisible by 8
- XOR of two numbers after making length of their binary representations equal
- Akaash's Assignment
- Maximum sum of increasing order elements from n arrays
- The Non-repetitive String
- Print Bracket Number
- Searching in an array where adjacent differ by at most k
- The Even Array
- The Modified String
- The Optimal Selection
- Minimum changes to make all substrings distinct
- Sorting all array elements except one
- Delete array elements which are smaller than next or become smaller
- Save Ironman
- Penalty Shooters
- Fitting The Array
- Are you "Perfect"

- Quick Sort on Linked List
- Count BST nodes that lie in a given range
- Check for BST
- Bottom View of Binary Tree
- Delete without head pointer
- Add all greater values to every node in a BST
- Construct Binary Tree from Parent Array
- Delete a node from BST
- Min distance between two given nodes of a Binary Tree
- The Celebrity Problem
- Topological sort
- Print a Binary Tree in Vertical Order
- Serialize and Deserialize a Binary Tree
- Make Binary Tree From Linked List
- Generate IP Addresses
- Extreme nodes in alternate order
- Kth element in Matrix
- Clone a Binary Tree
- Max length chain
- Interleaved Strings
- Sum of permutations
- Multiply two strings
- Minimum Swaps to Sort
- Rat in a Maze Problem
- Bipartite Graph
- Max sum subarray by removing at most one element
- Number of root to leaf paths
- Find the Closest Element in BST
- Merge two BST 's
- Merge k Sorted Arrays
- k-th smallest element in BST
- Polynomial Addition
- Merge Sort on Doubly Linked List
- Construct expression tree
- Foldable Binary Tree
- Leftmost and rightmost nodes of binary tree
- Pairs violating BST property
- Largest Independent Set Problem
- Construct Tree from Preorder Traversal
- Construct a Full Binary Tree
- Convert Level Order Traversal to BST
- C++ Generic sort
- Smallest Positive missing number
- 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
- Excel Sheet | Part - 1
- Maximum Sub Array
- Overlapping Intervals
- Maximum Index
- Equal Sum
- Longest Increasing Subsequence
- Parenthesis Checker
- Longest Common Subsequence
- 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
- Longest Span with same Sum in two Binary arrays
- Consecutive 1's not allowed
- Count of Subarrays
- Path in Matrix
- Trapping Rain Water
- String formation from substring
- Case-specific Sorting of Strings
- Rank of Matrix
- Sum of bit differences
- Subset Sum Problem
- Maximize The Array
- Factorials of large numbers
- Minimum Platforms
- Number following a pattern
- Find Prime numbers in a range
- Stock buy and sell
- Largest Number formed from an Array
- Longest Palindrome in a String
- Rearrange Array Alternately
- Rearrange an array with O(1) extra space
- Relative Sorting
- Maximum of all subarrays of size k
- Row with max 1s
- Boolean Matrix Problem
- Count Integral Points
- Design a tiny URL or URL shortener
- Nuts and Bolts Problem
- Rotate a 2D array without using extra space
- 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
- Maximum Sum Path in Two Arrays
- Stock span problem
- Convert an array to reduced form
- Minimum steps to get desired array
- Handshakes
- Tic-Tac-Toe
- Number to words
- Palindromic Array
- Betting game
- Card Rotation
- Search Pattern
- Longest Arithmetic Progression
- Cost of Sweets
- Maximum Profit
- Digit multiplier
- Build the smallest
- Next larger element
- Taking 1 out of 3 consecutives
- Distinct Transformations
- Matchsticks game
- Longest Prefix Suffix
- Kth smallest element
- Divisible by 8
- Sum of Subarrays
- Longest Common Substring
- Check if a string is repetition of its substring of k-length
- Rotate and delete
- Minimums in Array
- Recursively remove all adjacent duplicates
- Shortest Source to Destination Path
- Trie | (Insert and Search)
- Partition a number into two divisible parts
- Substring - Subsequence problem
- Print leaf nodes from preorder traversal of BST
- Is Sudoku Valid
- 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
- K
^{th}largest element in a stream - Zero Sum Subarrays
- Smallest distinct window
- Minimum number of steps to reach a given number.
- Nearly Sorted Algorithm
- Infix to Postfix
- Smallest Absolute Difference
- Geek collects the balls
- Smallest Positive missing number
- Maximum Intervals Overlap
- First Digit
- Page Faults in LRU
- LCS of three strings
- Longest Common Prefix in an Array
- Median In a Row-Wise sorted Matrix
- In First But Second
- Row with minimum number of 1's
- Numbers with alternative 1's
- Matrix Chain Multiplication
- Alternate Vowel and Consonant String
- Previous number in one swap
- Print N-bit binary numbers having more 1’s than 0’s
- Next higher palindromic number using the same set of digits
- Find the last digit when factorial of A divides factorial of B
- Last two digits of Fibonacci
- Lazy Pasha
- Subarrays with equal 1s and 0s
- Make Matrix Beautiful
- Beautiful SubSequence
- The Fibonacci-prime number
- The Tiny Miny
- Sum of XOR of all pairs
- Container with most water
- Save Gotham!
- Maximize the sum of selected numbers from an array to make it empty
- Find the N-th character
- Large Factorials
- Part of it.
- A difference of values and indexes
- Optimal Strategy For A Game

- Reorder List
- Maximum subset XOR
- Longest Palindromic Substring in Linear Time
- Head to Tail ordering
- Merge Without Extra Space
- Next Smallest Palindrome
- Return two prime numbers
- Allocate minimum number of pages
- A Simple Fraction
- Ugly Numbers
- Rohan's Love for Matrix
- Create your own Calculator
- Longest valid Parentheses
- N-Queen Problem
- Generalised Fibonacci numbers
- Very Tough Problem
- Distinct palindromic substrings
- Similar expressions
- Numbers with one absolute difference
- Count the subarrays having product less than k
- Closest Palindrome
- Minimum number to make median X