Afiz ⚡️
Afiz ⚡️

@itsafiz

5 تغريدة 1 قراءة Feb 03, 2023
🟡 Data Structures and Algorithms in Python 1️⃣
Binary Search ✅
Alice has cards with numbers written on them. She arranges the cards in decreasing order and lays them out face down in a sequence on a table. She challenges Bob to pick out the card containing a given number by turning over as few cards as possible. #dsa
📒 Binary search implementation in Python: Source code →
github.com
✨ Binary Search Interview Question
✅ Given an array of integers nums sorted in ascending order, find the starting and ending position of a given number.
Source code is in the next tweet 👇
Find the Jupyter notebook 👇
github.com

جاري تحميل الاقتراحات...