Kamal Pratik
@nextdoor_techie
Go Lang Backend Developer striving to be the best at what I do. Welcome to my coding journey :) Linkedin - http://linkedin.com/in/kp30/
Aggresive Cows : 🟢 Range : 1 to maximum element in array 🟢 Check to find if k cows can be placed with the current mid. 🟢 If yes then store potential ans and discard left half 🟢 Else discard right half 🟢 Repeat in loop until low<=high 🟢 return ans #DSA #BinarySearch
#Day3 : Binary Search Trick here is to identify if it is a binary search question. 🟢 Koko Eating Bananas 🟢 Minimum days to make M bouquets 🟢 FInd Smallest Divisor 🟢 Capacity to Ship Packages within D Days 🟢 Kth Missing Positive Number
#day2 : Binary Search *Find out how many times an array is rotated *Single element in Sorted array *FInd Peak Element *Find square root of a number
Algo : *Since the sorted array is rotated, One half will always be sorted and other will be unsorted. *FInd out which half is sorted and unsorted by comparing nums[m] to nums[l] and nums[h]. *Eliminate one half based on the requirement. *Repeat.
#Day2-Binary Search Search in Rotated Sorted Array. Search in Rotated Sorted Array with Duplicate Elements. Search minimum elements in Rotated Sorted Array.
#Day2-Binary Search Search in Rotated Sorted Array. Search in Rotated Sorted Array with Duplicate Elements. Search minimum elements in Rotated Sorted Array.
Weekly Target DSA : Finish Binary Search from @striver_79 AtoZ Sheet DEV : Start a project
United States Trends
- 1. #FinallyOverIt 5,442 posts
- 2. #TalusLabs N/A
- 3. Summer Walker 17.1K posts
- 4. 5sos 21.6K posts
- 5. #criticalrolespoilers 4,108 posts
- 6. Justin Fields 10K posts
- 7. Jets 68.5K posts
- 8. #GOAI 3,026 posts
- 9. Patriots 151K posts
- 10. Go Girl 25.7K posts
- 11. #BlackOps7 15.5K posts
- 12. Wale 32.8K posts
- 13. Jalen Johnson 8,830 posts
- 14. 1-800 Heartbreak 1,401 posts
- 15. Domain For Sale 12.5K posts
- 16. Drake Maye 21.2K posts
- 17. Judge 204K posts
- 18. Bihar 243K posts
- 19. Robbed You 4,056 posts
- 20. Disc 2 N/A
Something went wrong.
Something went wrong.