Python_LeetCode_Coding

There are four coding components in Data Science Interviews: Data Structure & Algorithm, Machine Learning Algorithms, Math & Statistics, and Data (String) manipulation.

I live-code real interview questions asked by major tech companies in this repository and host the Python code here. On each topic, there is a detailed technical blog post available on my Data Science blog: https://leihua-ye.medium.com.

To maximize the utility of this repo, I'd suggest combining both materials and practice at your own pace.

Part 1: Math and Statistics:

https://towardsdatascience.com/5-python-coding-questions-asked-at-faang-59e6cf5ba2a0

Part 2: Data Manipulation, part 1:

https://towardsdatascience.com/6-python-questions-you-should-practice-before-coding-interviews-f958af55ad13

Part 3: Binary Search

https://towardsdatascience.com/binary-search-in-python-the-programming-algorithm-8b8fa039eaa

Part 4: Data Manipulation, part 2:

https://towardsdatascience.com/essential-python-coding-questions-for-data-science-interviews-4d33d15008e6

Part 5: 3 Simple Questions to Hone Python Skills for Beginners in 2021

https://towardsdatascience.com/3-simple-questions-to-hone-python-skills-for-beginners-in-2021-f12da38f83cf

Part 6: Python Numpy and Matrices Questions for Data Scientists

https://towardsdatascience.com/python-numpy-and-matrices-questions-for-data-scientists-167af1c9d3a4

Part 7.1: Master Python Dictionary for Beginners, Part One

https://towardsdatascience.com/master-python-dictionary-for-beginners-in-2021-1cdbaa17ec45

Part 7.2: Master Python Dictionary for Advanced Users, Part Two

https://towardsdatascience.com/master-data-type-dictionary-in-python-from-zero-to-hero-part-2-6513aad883de?sk=23264e4e8bb82db4229918f28a34a0c8

Part 8: Python Array and String Manipulation Questions for Data Scientists

https://towardsdatascience.com/python-string-manipulation-for-data-scientists-in-2021-c5b9526347f4

Part 9: How to Solve Python Coding Questions using Math

https://towardsdatascience.com/how-to-solve-python-coding-questions-using-math-72d5540b5a24

Part 10: How to Solve Python Coding Questions using Stack

https://towardsdatascience.com/how-to-solve-python-coding-questions-using-stack-94571f31af3f

Part 11: Why Data Scientists Should Learn Dynamic Programming

https://towardsdatascience.com/why-data-scientists-should-learn-dynamic-programming-e50dfe62a5c7?sk=2f50d13ab53a4984153e4ccda8870bb1

Installing

We need to install two packages: numpy and matplotlib.pyplot.

About the Author

Leihua Ye is a Ph.D. Researcher at the UC, Santa Barbara. He has received extensive training in Causal Inference, Research Design, Machine Learning, Big Data, and Machine Learning.

He receives his B.A. and M.A. from the Uni. of Nottingham.

Contact

Email: yeleihua@gmail.com

LinkedIn: www.linkedin.com/in/leihuaye

Tech Blog: https://leihua-ye.medium.com