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: Master Python Dictionary for Beginners

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

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

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