Telegram Channel : https://t.me/ctobhaiya_tg
Instagram: https://www.instagram.com/ctobhaiya
Linkedin: https://www.linkedin.com/in/anuj-kumar-a-k-a-cto-bhaiya-on-youtube-9a188968
Github: https://github.com/team-codebug/babua-dsa-patterns-course
Problem -
---------------------------
Given a sorted array of distinct integers and a target value,
return the index if the target is found.
If not, return the index where it would be if it were inserted in order.
---------------------------
Leetcode - https://leetcode.com/problems/search-insert-position/
Notes - https://github.com/team-codebug/leetcode/blob/main/35SearchInsertPosition.pdf
Code (java) - https://github.com/team-codebug/leetcode/blob/main/35SearchInsertPosition.java
Complete Leetcode solutions - EASY playlist : https://www.youtube.com/playlist?list=PLVItHqpXY_DD65uetx0HXIRKKNnnbT8TZ
Complete Lectures + Code - https://github.com/team-codebug/leetcode
#binarysearch #distinct #java #array #sortedarray #easy_understanding #solution #theory #notes #leetcodepatterns
===========================
➡️ Connect with me:
LinkedIn : https://www.linkedin.com/in/anuj-kumar-a-k-a-cto-bhaiya-on-youtube-9a188968
Telegram Channel : https://t.me/ctobhaiya_tg
Instagram: https://www.instagram.com/ctobhaiya
===========================