Common Interview Questions and Answers
Practice the most frequently asked interview questions with expert answers, approach tips, and AI-powered feedback.
115K views•4w ago
Can you explain how to reverse a string efficiently?
DSA
Asked at Infosys
Easy
97.8K Users PracticedPractice with This Question
93.7K views•4w ago
What is the strategy to generate all binary strings from a given pattern?
Coding
Asked at Google
Medium
79.6K Users PracticedPractice with This Question
60.3K views•4w ago
How can you count strings formed under specific character constraints?
DSA
Asked at Google
Medium
51.3K Users PracticedPractice with This Question
58.2K views•4w ago
How do you find a subarray with a given sum in non-negative numbers?
DSA
Asked at Google
Medium
49.5K Users PracticedPractice with This Question
100.4K views•4w ago
What is the method to find the largest word in a dictionary by deletion?
Coding
Asked at Google
Medium
85.3K Users PracticedPractice with This Question
76.3K views•4w ago
How would you sort an array of 0s, 1s, and 2s in linear time?
Coding
Asked at Microsoft
Medium
64.8K Users PracticedPractice with This Question
63.3K views•4w ago
What is Kadane's Algorithm and how does it solve the maximum subarray problem?
DSA
Asked at Microsoft
Easy
53.8K Users PracticedPractice with This Question
63.5K views•4w ago
How do you determine if a binary tree is height-balanced?
Coding
Asked at Microsoft
Medium
54K Users PracticedPractice with This Question
89.2K views•4w ago
How do you design a tiny URL or URL shortener system?
System Design
Asked at Microsoft
Hard
75.8K Users PracticedPractice with This Question
71.7K views•4w ago
How do you delete a node given only its pointer in a singly linked list?
DSA
Asked at Microsoft
Medium
60.9K Users PracticedPractice with This Question