Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 0Medium 7Hard 3
Filters · onDifficulty, topic, company
18 questions
- 1Find minimum in Rotated Sorted ArrayCoding·
Goldman Sachs, ServiceNow - 2Maximize the Beauty of the GardenCoding·
ServiceNow - 3Subarrays with K Different IntegersHardCoding·
HashedIn, Microsoft - 4Word BreakMediumCoding·
Meta, ServiceNow - 5A maximum pathCoding·
ServiceNow - 6AVL Tree ProblemCoding·
ServiceNow, Spinny - 7Balanced Sub arraysCoding·
ServiceNow - 8Bulb Switcher IIMediumCoding·
ServiceNow - 9Check if a Parentheses String Can Be ValidMediumCoding·
Meta, ServiceNow - 10Find the Occurrence of First Almost Equal SubstringHardCoding·
ServiceNow - 11First Missing PositiveHardCoding·
FactSet Research Systems Inc., ServiceNow - 12Hard ProblemCoding·
ServiceNow - 13Linked List Cycle IIMediumCoding·
ServiceNow - 14Linked List ReversalCoding·
ServiceNow - 15Medium ProblemCoding·
ServiceNow - 16Minimum Number of Swaps to Make the String BalancedMediumCoding·
ServiceNow - 17Sum of Beauty in the ArrayMediumCoding·
ServiceNow - 18Swapping Nodes in a Linked ListMediumCoding·
ServiceNow