Question Bank
Filter real, curated interview questions by topic, difficulty, and type. Open any question to practice and rate your confidence.
Filter by company and topic2 active
RecentMost viewed
6 questionsFree0Locked6
- Given a nested list of integers, return the sum of all integers weighted by their depth (an integer at depth d contributes value * d). Lists at the top level have depth 1. (LeetCode 339 - Nested List Weight Sum)IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at LinkedIn
- Design a Max Stack (LeetCode 716) that supports push, pop, top, peekMax and popMax, where popMax removes and returns the maximum element and, if there are several maximums, only the one closest to the top.AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at LinkedIn
- Given an integer array nums, find the contiguous subarray with the largest product and return that product. (LeetCode 152 - Maximum Product Subarray)IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at LinkedIn
- Given a binary tree, collect and return its nodes as if repeatedly removing all leaves until the tree is empty - each removal round is one list in the output. (LeetCode 366 - Find Leaves of Binary Tree)IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at LinkedIn
- Design a data structure initialized with a list of words that efficiently answers repeated queries for the shortest distance between two given words. (LeetCode 244 - Shortest Word Distance II)IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at LinkedIn
- Given an undirected graph with n nodes and a list of edges, detect whether it contains a cycle using Union-Find (Disjoint Set Union).IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at LinkedIn