Interview questions
3115 problems · hints · solutions in Java and Python
Real questions from real interviews: each one shows the companies that ask it, their typical fresher package, and how recently it came up. Learn the pattern, not the answer: try each one yourself, take a hint only when you're stuck, then compare your approach with the write-up.
Browse questions by companySign in for free to see all 3115 company interview questions, the companies that ask them, hints and solutions.
Which companies ask a question, how often and how recently started from the community dataset LeetCode company-wise problems (community dataset) (snapshot 2026-10-20); “how often” is a relative score at each company, not a count of interviews. “Years asked” comes from 35 dated snapshots of it and of snehasishroy/leetcode-companywise-interview-questions and krishnadey30/LeetCode-Questions-CompanyWise (2020 snapshot), covering 2024–2026, 2018–2020. Fresher CTC figures are typical new-grad packages in India, from 250 companies paying 15+ LPA to freshers (community list) unless an admin has updated them; real offers vary. dotprep admins keep this data up to date and review learner reports.