-
Updated
Mar 25, 2020
coding-interviews
Here are 318 public repositories matching this topic...
Hey Yangshun,
Thanks for the great list of guides!
I found the explanation for Snake game bit difficult to follow and I came across this interesting and better explanantion here https://www.youtube.com/watch?v=AaGK-fj-BAM
-
Updated
Mar 23, 2020 - JavaScript
-
Updated
Feb 19, 2020
-
Updated
Oct 14, 2019 - Java
-
Updated
Nov 19, 2019 - Java
-
Updated
Dec 16, 2019 - Python
-
Updated
Oct 16, 2019 - Java
-
Updated
Feb 5, 2020
本项目 GitHub Page 已发布
-
Updated
Mar 21, 2020 - JavaScript
-
Updated
Feb 8, 2020 - Jupyter Notebook
-
Updated
Jan 31, 2020 - Python
-
Updated
Dec 25, 2018
-
Updated
Nov 21, 2019 - Python
-
Updated
Mar 15, 2020 - Python
-
Updated
Mar 7, 2020 - Kotlin
-
Updated
Sep 22, 2017 - TypeScript
Hash Table in C++
-
Updated
Jun 27, 2019 - HTML
The API is well-defined in the code, but it would be nice to have it in ReadTheDocs.
It would also allow us to add bits of useful information, such as the fact that #470 exists.
-
Updated
Jul 1, 2019
-
Updated
Mar 23, 2019 - Jupyter Notebook
-
Updated
Feb 24, 2020 - Python
-
Updated
Mar 6, 2020 - C++
-
Updated
Sep 18, 2018 - Java
Improve this page
Add a description, image, and links to the coding-interviews topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the coding-interviews topic, visit your repo's landing page and select "manage topics."


The heap.png image in the readme (https://raw.githubusercontent.com/kdn251/interviews/master/images/heap.png) shows a tree that does indeed respect the heap order property. The problem is when you mention the time complexities. In order to have O(log(n)) insert / remove time you also need for your heap to be a complete binary tree. The heap in the picture is not a complete binary tree. I think it