Binary Search: Theory, Implementation, and Edge Cases
A thorough guide to binary search: from the core invariant to correct implementations in Python, C++, and JavaScript, plus tricky variations.
2 articles
A thorough guide to binary search: from the core invariant to correct implementations in Python, C++, and JavaScript, plus tricky variations.
Build linear regression from the ground up using NumPy, understand the math behind gradient descent, and implement it without any ML library.