coding-interview-university README

The project's README from github.com/jwasham/coding-interview-university. As one markdown file: README.md.

Coding Interview University

I originally created this as a short to-do list of study topics for becoming a software engineer, but it grew to the large list you see today. After going through this study plan, I got hired as a Software Development Engineer at Amazon! You probably won't have to study as much as I did. Anyway, everything you need is here.

I studied about 8-12 hours a day, for several months. This is my story: Why I studied full-time for 8 months for a Google interview

Please Note: You won't need to study as much as I did. I wasted a lot of time on things I didn't need to know. More info about that is below. I'll help you get there without wasting your precious time.

The items listed here will prepare you well for a technical interview at just about any software company, including the giants: Amazon, Facebook, Google, and Microsoft.

Best of luck to you!

Translations:
Translations in progress:

What is it?

Coding at the whiteboard - from HBO's Silicon Valley

This is my multi-month study plan for becoming a software engineer for a large company.

Required:

Note this is a study plan for software engineering, not frontend engineering or full-stack development. There are really super roadmaps and coursework for those career paths elsewhere (see https://roadmap.sh/ for more info).

There is a lot to learn in a university Computer Science program, but only knowing about 75% is good enough for an interview, so that's what I cover here. For a complete CS self-taught program, the resources for my study plan have been included in Kamran Ahmed's Computer Science Roadmap: https://roadmap.sh/computer-science


Table of Contents

The Study Plan

Topics of Study

Getting the Job

---------------- Everything below this point is optional ----------------

Optional Extra Topics & Resources


Why use it?

If you want to work as a software engineer for a large company, these are the things you have to know.

If you missed out on getting a degree in computer science, like I did, this will catch you up and save four years of your life.

When I started this project, I didn't know a stack from a heap, didn't know Big-O anything, or anything about trees, or how to traverse a graph. If I had to code a sorting algorithm, I can tell ya it would have been terrible. Every data structure I had ever used was built into the language, and I didn't know how they worked under the hood at all. I never had to manage memory unless a process I was running would give an "out of memory" error, and then I'd have to find a workaround. I used a few multidimensional arrays in my life and thousands of associative arrays, but I never created data structures from scratch.

It's a long plan. It may take you months. If you are familiar with a lot of this already it will take you a lot less time.

⬆ back to top

How to use it

Everything below is an outline, and you should tackle the items in order from top to bottom.

I'm using GitHub's special markdown flavor, including tasks lists to track progress.

If you don't want to use git

On this page, click the Code button near the top, then click "Download ZIP". Unzip the file and you can work with the text files.

If you're open in a code editor that understands markdown, you'll see everything formatted nicely.

How to download the repo as a zip file

If you're comfortable with git

Create a new branch so you can check items like this, just put an x in the brackets: [x]

  1. Fork the GitHub repo: https://github.com/jwasham/coding-interview-university by clicking on the Fork button.

    Fork the GitHub repo

  2. Clone to your local repo:

    git clone https://github.com/<YOUR_GITHUB_USERNAME>/coding-interview-university.git
    cd coding-interview-university
    git remote add upstream https://github.com/jwasham/coding-interview-university.git
    git remote set-url --push upstream DISABLE  # so that you don't push your personal progress back to the original repo
    
  3. Mark all boxes with X after you completed your changes:

    git commit -am "Marked personal progress"
    git pull upstream main  # keep your fork up-to-date with changes from the original repo
    
    git push # just pushes to your fork
    

⬆ back to top

Don't feel you aren't smart enough

⬆ back to top

A Note About Video Resources

Some videos are available only by enrolling in a Coursera or EdX class. These are called MOOCs. Sometimes the classes are not in session so you have to wait a couple of months, so you have no access.

It would be great to replace the online course resources with free and always-available public sources, such as YouTube videos (preferably university lectures), so that you people can study these anytime, not just when a specific online course is in session.

⬆ back to top

Choose a Programming Language

You'll need to choose a programming language for the coding interviews you do, but you'll also need to find a language that you can use to study computer science concepts.

Preferably the language would be the same, so that you only need to be proficient in one.

For this Study Plan

When I did the study plan, I used 2 languages for most of it: C and Python

This is my preference. You do what you like, of course.

You may not need it, but here are some sites for learning a new language:

For your Coding Interview

You can use a language you are comfortable in to do the coding part of the interview, but for large companies, these are solid choices:

You could also use these, but read around first. There may be caveats:

Here is an article I wrote about choosing a language for the interview: Pick One Language for the Coding Interview. This is the original article my post was based on: Choosing a Programming Language for Interviews

You need to be very comfortable in the language and be knowledgeable.

Read more about choices:

See language-specific resources here

⬆ back to top

Books for Data Structures and Algorithms

This book will form your foundation for computer science.

Just choose one, in a language that you will be comfortable with. You'll be doing a lot of reading and coding.

Python

C

Java

Your choice:

C++

Your choice:

⬆ back to top

Interview Prep Books

Here are some recommended books to supplement your learning.

If you have tons of extra time:

Choose one:

⬆ back to top

Don't Make My Mistakes

This list grew over many months, and yes, it got out of hand.

Here are some mistakes I made so you'll have a better experience. And you'll save months of time.

1. You Won't Remember it All

I watched hours of videos and took copious notes, and months later there was much I didn't remember. I spent 3 days going through my notes and making flashcards, so I could review. I didn't need all of that knowledge.

Please, read so you won't make my mistakes:

Retaining Computer Science Knowledge.

2. Use Flashcards

To solve the problem, I made a little flashcard site where I could add flashcards of 2 types: general and code. Each card has a different formatting. I made a mobile-first website, so I could review on my phone or tablet, wherever I am.

Make your own for free:

**I DON'T RECOMMEND using my flashc

coding-interview-university (jwasham/coding-interview-university)

Searching Database…

这是什么?这是一份长达数月的自学计划,涵盖通过大公司软件工程师面试所需的计算机科学知识。
这是一个需要报名的课程,还是我自己照着清单学的列表?不是课程——它是一份很长的、按顺序排列的学习主题待办清单,附带视频和书籍链接;作者最初只是做了一份简短的核对清单,后来逐渐扩充成了现在这份长列表。
这么长的内容,我怎么跟踪自己的进度?按大纲从上往下逐项学习:fork 这个仓库(或者直接下载 ZIP),每完成一项,就在它的复选框里打一个 x。
开始之前我需要多少编程经验?只要一点点——会变量、循环和方法/函数——再加上耐心和时间。它假设你懂基本的编程,不要求有计算机科学背景。
这得花我多长时间?这是一份很长的计划,可能要花好几个月,不过如果你已经掌握其中不少内容,进度会快很多。
我没读完计算机科学学位——这适合我这样的人吗?适合——作者自己也没拿到学位,他说这份计划能帮你补齐差距,省下你四年的光阴。它能帮你应付几乎所有软件公司的面试,包括那些大厂。
这份计划涵盖哪些主题?核心数据结构(数组、链表、栈、队列、哈希表、树、堆、图)、Big-O 分析、排序、递归、动态规划、设计模式,还包括缓存、进程与线程、网络等基础知识,最后以一次总复习收尾;选学部分一直到系统设计、编译器和密码学。
真的有人照着这份计划找到工作了吗?有——作者说自己学完之后在亚马逊(Amazon)找到了软件开发工程师(Software Development Engineer)的工作,不过他也承认自己在不需要的主题上浪费了时间。
它能帮我准备前端或全栈岗位吗?不能——作者明确指出这是软件工程方向的学习计划,不是前端工程或全栈开发方向的,并推荐去看其他路线图来走那些方向。
那这是不是一套完整的计算机科学教育?不完全是——它大约覆盖大学计算机科学课程的 75%,他认为这对面试来说足够了;如果想找完整的自学课程体系,他推荐 Kamran Ahmed 的 Computer Science Roadmap。
Creator
jwasham
Size
22.2 MB
Stars
362.6K
Updated
CommitDec 05
Age
10y
Commits · 90 Days