4 ms·
Ask HN: List of CS interview questions
I'm looking for a large compilation of CS programming interview questions and answers. Answers are preferred, but not required. Explicit questions are preferred, but resources such as this Reddit thread[0] are also welcome.
[0] https://www.reddit.com/r/cscareerquestions/comments/20ahfq/heres_a_pretty_big_list_of_programming_interview/
- saamm 9y agoMaybe this[0]? I'm unaffiliated but have found use in it. 0: https://www.careercup.com/page https://www.careercup.com/page
- crazypyro 9y agohttps://leetcode.com/problemset/all/ https://leetcode.com/problemset/all/
- anonytrary 9y agoI don't have much knowledge on this, but in your (or someone else's) opinion, how does this compare to HackerRank[0]? Would you say these problems are easier, on-par, or more difficult than HackerRank problems[1]? [0] https://www.hackerrank.com https://www.hackerrank.com [1] https://www.hackerrank.com/domains/algorithms https://www.hackerrank.com/domains/algorithms
- akhilcacharya 9y agoLeetcode is the right answer. The better question is how folks got to the point of nailing these questions without going to a top CS program or doing competitive programming. I'm honestly beginning to think it's an inherent ability given how little folks from top schools struggle with interviews.
- atak1 9y agoits not an inherent ability. people from top schools (1) study more questions and memorize common problem-solving patterns & (2) have more network resources with which to practice (e.g. someone from MIT will get 1.5x the number of interview chances that someone from a lesser known uni)
- corporateslaver 9y agoYeah it makes me wonder too. Especially when good companies are stocked with top degrees. Can they all just be crushing the interview? Is the degree that predictive?
- mindvirus 9y agoIt’s just practice. I went to a good school, but I’ve spent 100s of hours doing programming contest questions. The secret is, there aren’t that many unique interview questions, and so once you get the pattern recognition down (binary search problems, hash table problems, dynamic programming problems, etc.) and practice your speed, interviews become easy.