Top 50 Programming Interview Questions
The most frequently asked Programming questions across all roles and companies, ranked by real interview frequency. Updated daily.
Reverse a string using a two-pointer approach by converting it to a mutable character list in Python.
USAA
Converseon
DecagonMerge overlapping intervals by sorting start times and greedily extending the current range.
Bae Systems Usa
Altruist
TikTokDetermine whether an integer is prime using trial division up to the square root.
Micron Memory Malaysia Sdn Bhd
WebmdCompute the nth Fibonacci value for Airtel Payments Bank metrics using iterative dynamic programming and constant extra space.
MECLABS
BOFA
BlackRockDetermine whether an integer is an Armstrong number by summing each digit raised to the digit count.
Yochana
Capgemini Engineering
EdgeverveReverse a singly linked list in-place using pointer manipulation with O(n) time and O(1) extra space.
An innovative healthcare organization
Verizon
HashedInSort Airbus Americas Customer Services part numbers numerically using a comparison-based algorithm and explain its time and space trade-offs.
Airbus Americas Customer Services
ETS
CriteoFind all prime numbers from 1 to 100 using trial division and return them in ascending order.
Media
Virtusa
UST GlobalSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Compare normalized character signatures to determine whether each pair of strings is an anagram.
AdobeCalculate the sum of integers from 1 to 1,000,000 using PostgreSQL aggregation and filtering.
Virtu Financial