questions to pratice for amazon
minimum no of platform
lcs and bfs
merge k sorted lists *2
permutation of strings
shiping box *
house robber 1,2, and 3
4sum
set matrix zero
nth magical number
boundary travesal
remove k digits
longest path with same value in a binary tree
sorted array sqaures
Design add and search words leetcode variation *
most vulnerable farmer
create bst from preorder
burn the binary tree
frog jump
android lock patttern
topological sort
rotten organes variation(covid gfg variation)
merge two sorted lists
recover bst
lru cache
next greater frequency element
input - a,b,c,a,b,c
op-a,a,a,b,c,"
recover bst
4sum
rotten oranges
right max element
rotten oranges
bfs/dfs
how to setup instances in aws
sorted list ,array to bst (vimp asked to three four people)(exact balance bst)
3sum /4sum
delete all the leaf nodesss from a tree with given target
single element in the sorted array
find subarray that needs to be sorted so that whole array will be sorted
BOUNDARY TRAVESAL
doubly lnkedlist to bst and vice versa and ask theory questions of binary tree
dilpad recursion
find element in reverse sorted array
print the top view of the tree
given 2 arrays ,find the 2 elements whose sum is nearest to value X (sum closest to zero)
remove consecutive characters if they are more than 3 times
find next greater elements
variation of kadane algo( return the subarray of the maximum sum)
increment the number represented by the linkedlist
check if string can be formed using charactersitc of adjacent cells of a matrix
remove all occurence of the substring
Level order traverlsal of binary tree
Next Greater element II
Find the length of largest subarray with 0 sum
Path sum II
Search Element in a Rotated Sorted Array
Find Longest Common Prefix
Given a string s, reverse the words of the string.
(Kadane’s Algorithm)
Add two numbers
Number of Islands
Longest Consecutive Sequence in an Array
Maximum Product Subarray in an Array
Check if the given Linked List is Plaindrome
Find K Closest Points to the Origin
univalue tree(leetcode)
Multiplication of two polynomials using Linked list
.(Trapping Rainwater)
Insufficient Nodes in Root to Leaf Paths
Zig-Zag Traversal of Binary Tree
Similar to Valid Parentheses but some modification.
Find the diameter of a Binary Tree
Find the length of largest subarray with 0 sum
longest-palindromic-substring/
Find a pair with given sum in BST (2-Sum In a BST).
Rotting Oranges
Write a program to print all Anagrams of a given string.
Two Sum. -Sorted and Unsorted Array
Given a string, I need to find the length of the longest substring with no repeating characters.
Count possible decodings of a given digit sequence.
Select a random number from the stream, with O(1) space.
minimum-number-platforms-required-railwaybus-station/
kth-largest-element-in-a-stream/
kth-smallest-element-in-a-row-wise-and-column-wise-sorted-2d-array-set-1/
Median of row wise sorted matrix
group-anagrams
minimum-number-of-parentheses-to-be-added-to-make-it-valid/
(Josephus problem)
Search for an element in a row-wise and column-wise sorted matrix of size N x M.
Given a string, I need to find the length of longest substring with no repeating character
Merge K sorted arrays having length N.
Check if a Binary Tree is a BST or not.
Given an array of size n, find a subarray such that on sorting this subarray, the whole array is sorted .
Count the number of possible triangles
Find if the given binary tree is height balanced.
Find if the given tree is the subtree of the big tree.
find Right interval leetcode
longest path with same values in binary tree
max width of the binary tree
covid variation of rotting organes
shortest path in binary matrix
/PLEASE UPVOTE/
Given an array. Pop min element in O(1) time.
shortest path in binary matrix;
min path sum