Big-O Algorithm Complexity Cheat Sheet (Know Thy Complexities!) @ericdrowell
Hi there! This webpage covers the space and time Big-O complexities of common algorithms used in Computer Science. When preparing for technical interviews in the past, I found myself spending hours crawling the internet putting together the best, average, and worst case complexities for search and sorting algorithms so that I wouldn't be stumped when asked about them. Over the last few years, I've interviewed at several Silicon Valley startups, and also some bigger companies, like Google, Facebook, Yahoo, LinkedIn, and Uber, and each time that I prepared for an interview, I thought to myself "Why hasn't someone created a nice Big-O cheat sheet?". So, to save all of you fine folks a ton of time, I went ahead and created one. Enjoy! - Eric
Hi there! This webpage covers the space and time Big-O complexities of common algorithms used in Computer Science. When preparing for technical interviews in the past, I found myself spending hours crawling the internet putting together the best, average, and worst case complexities for search and sorting algorithms so that I wouldn't be stumped when asked about them. Over the last few years, I've interviewed at several Silicon Valley startups, and also some bigger companies, like Google, Facebook, Yahoo, LinkedIn, and Uber, and each time that I prepared for an interview, I thought to myself…
saved by
related reading
- Big O Cheat Sheet – Time Complexity Chartfreecodecamp.org
- GitHub - ByteByteGoHq/system-design-101: Explain complex systems using visuals and simple terms. Help you prepare for system design interviews.github.com
- Big Osamwho.dev
- Competitive Programmer's Handbookcses.fi
- Static search trees: 40x faster than binary search · CuriousCodingcuriouscoding.nl
- Questions I'm asking in interviewsjvns.ca
- Memory access is O(N^[1/3])vitalik.eth.limo
- CRDTs go brrrjosephg.com
- LeetCode-Solutions/0001-1000.md at master · Holychung/LeetCode-Solutionsgithub.com
- Numbers Every Programmer Should Know By Yearcolin-scott.github.io
- Graph cheatsheet for coding interviews | Tech Interview Handbooktechinterviewhandbook.org
- BigO(Bench) -- Can LLMs Generate Code with Controlled Time and Space Complexity?alphaxiv.org