Print the left view of a binary tree.
Find the missing number in an arithmetic progression.
Implement the Minesweeper game logic.
Count the number of inversions in an array.
Find the next permutation of a given string
Generate all permutations of a given string.
Implement an LRU (Least Recently Used) cache.
Find the median from a running stream of numbers.
Merge K sorted arrays into a single sorted array.
Perform spiral (zigzag) traversal of a binary tree.
Write full code to create a mirror of a binary tree
Find the number of islands in a given binary matrix.
Implement LRU cache using a language of your choice.
Check whether a given binary tree is a Binary Search Tree (BST).
Given a binary tree, print all the nodes visible from the top view.
Given a node in a binary tree, find and print its inorder successor.
Boolean Matrix problem (modify the matrix based on boolean conditions).
Given a matrix, if an element is 0, set its entire row and column to 0.
Given a very large matrix, find the maximum connected region available.
Print all nodes at a given distance K from a target node in a binary tree.
How would you sort a very large file on a single machine with limited memory?
Given a string, count the number of different substrings that are palindromes.
Find the square root of a number without using inbuilt functions in O(log N) time.
Implement string matching where the pattern string may contain wildcard characters.
Given x, y, and k, find the maximum value of a XOR b equal to k such that x ≤ a < b ≤ y.
Find the inorder predecessor and successor for a given key in a Binary Search Tree (BST).
Generate all distinct permutations of a given string that may contain duplicate characters.
Given a number, generate the next smallest permutation greater than the current permutation.
Given one small file and one very large file, how would you find all numbers common to both?
Design and implement an LRU Cache using Doubly Linked List and HashMap with given constraints
Represent the fraction of two integers as a string, handling repeating decimals appropriately.