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
5 questionsFree3Locked2
- Given two strings s and t, determine if they are isomorphic - characters in s can be replaced to get t with a consistent one-to-one mapping (no two characters map to the same character). (LeetCode 205 - Isomorphic Strings)BeginnerAlgorithms· codingFreeReported frequent at LinkedIn
- Given a flowerbed as an array of 0s and 1s (0 = empty, 1 = planted) where no two flowers may be adjacent, determine if n new flowers can be planted without violating the no-adjacent rule. (LeetCode 605 - Can Place Flowers)BeginnerAlgorithms· codingFreeReported frequent at LinkedIn
- Given a batch of N profile-view counts (one count per profile) with K much smaller than N, which approach finds the top K most-viewed profiles in a single pass using only O(K) extra memory, and how does it compare with heapify-all and quickselect?IntermediateAlgorithms· multiple choice₹99 (Interview Prep or Pro plan required)
- You need to detect whether a directed connections graph (member to member) contains a cycle. Which algorithm correctly detects a cycle in a directed graph?IntermediateAlgorithms· multiple choice₹99 (Interview Prep or Pro plan required)
- Find all factors of a given number efficiently.BeginnerAlgorithms· codingFree