DEV Community

Cover image for Day 27: Unveiling the Magic of Binary Search in Java, C++, Python ๐Ÿš€ther
Nitin-bhatt46
Nitin-bhatt46

Posted on

Day 27: Unveiling the Magic of Binary Search in Java, C++, Python ๐Ÿš€ther

DAY - 27

For more Tech content Join us on linkedin click here

All the code snippets in this journey are available on my GitHub repository. ๐Ÿ“‚ Feel free to explore and collaborate: Git Repository

Todayโ€™s Learning :-

BINARY SEARCH QUESTION PRACTICE

Q1. Rotated Array ( find the minimum array )

Arr = 4,6,8,10,1,2

Q2. Search in Rotated Array

Arr = 1,2,3,4,6,7,8
Target = 4
Output = got it

Q1. kth position missing integer.

Arr = 1,2,3,4,7,8
k = 2
Output = 6

๐Ÿ™ Thank you all for your time and support! ๐Ÿ™
Don't forget to catch me daily for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! ๐Ÿ’ปโœจ

Top comments (1)

Collapse
 
sigje profile image
Jennifer Davis

heya! Thanks for sharing this post. One thing I'd recommend you do for your GitHub repository is to add a license. There's a lot of options - Apache and MIT are good ones if you want folks to contribute. spdx.org/licenses/ has a list of the ones that are OSI approved and you can read more about them. Without a license, folks may hesitate to collaborate.