Count the number of connected components in an undirected graph.
Design and implement an LRU Cache.
Explain and perform AVL tree rotations.
Serialize and deserialize a binary tree
Count unique paths in a grid with obstacles.
Find the boundary traversal of a binary tree
Multiply two numbers represented as strings.
Find the median of a running stream of numbers.
Implement the Longest Common Substring problem.
Last Moment Before All Ants Fall Out of a Plank
Check whether a given graph is bipartite or not.
Find the kth smallest element from a stream of numbers.
Find the Longest Palindromic Substring in a given string.
Check whether a given graph can be divided into two cliques.
Check if one binary tree is a subtree of another binary tree.
Find the Longest Common Subsequence (LCS) between two strings.
Find the maximum size sub-matrix with all 1s in a binary matrix
Find the number of pairs (x, y) in an array such that x^y > y^x.
Implement insert and search operations in a Trie data structure.
Validate whether a given binary tree is a valid Binary Search Tree
Solve Three displays with minimum total cost.
Design a stack that supports getMin() in O(1) time and O(1) extra space.
Find the left view and bottom view of a binary tree in a single traversal.
Find the nth Ugly Number (numbers whose only prime factors are 2, 3, and 5).
Evaluate complex mathematical expressions under modulus arithmetic efficiently
Manipulate given data following specified steps and print the output efficiently
Find the maximum (or minimum) of all subarrays of size k in an array in O(n) time.
Given a string, find the maximum length of a substring with all unique characters.
Find K pairs with the largest sums from two arrays, with time complexity O(n log n).
Count the number of balanced bracket sequences using n opening and n closing brackets.
Print all permutations of a vector with distinct elements and then with duplicate elements.
Optimize a double loop computing sum of (i XOR j) for i in [A,B] and j in [C,D], modulo 1e9+7.
Find the minimum number of steps required for a knight to reach a target position on a chessboard
Mobile Numeric Keypad Problem: Count possible numbers of given length using a mobile numeric keypad.
Search for an element in a row-wise sorted 2D matrix and analyze time complexity for different cases