计算机领域一般面试是会问到的各类常见算法的Big-O复杂度

原文摘自http://bigocheatsheet.com/

本文覆盖计算机领域一般面试是会问到的各类常见算法的Big-O复杂度。

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 eBay, 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!

计算机领域一般面试是会问到的各类常见算法的Big-O复杂度_第1张图片


计算机领域一般面试是会问到的各类常见算法的Big-O复杂度_第2张图片


计算机领域一般面试是会问到的各类常见算法的Big-O复杂度_第3张图片

你可能感兴趣的:(计算机领域一般面试是会问到的各类常见算法的Big-O复杂度)