Top 50 loops Interview Questions
The most frequently asked loops questions across all roles and companies, ranked by real interview frequency. Updated weekly.
Use a hash map of queues to implement a per-client sliding-window rate limiter over timestamped API requests.
Palantir technologiesReverse an array in place using a two-pointer approach without built-in reverse helpers.
NiCEProblem Given the head of a singly linked list, reverse the list and return the new head. Each node contains an integer value and a next pointer. The func...
AccentureExplain how to loop through an array and print only even numbers using a modulo check in Python.
BMW GroupUse a hash table frequency count to return the index of the first unique element in an array.
NTT DATAExplain how to design a concurrent scraper that obeys rate limits using async requests, backoff, and adaptive scheduling.
Veeva SystemsSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Open any question for its full solution and discussion.
Browse all questions →