Manish Mahesh TalrejaLeet Code Problem 852 — Peak Index in a Mountain ArrayYou are given an integer mountain array arr of length n where the values increase to a peak element and then decrease.Nov 6
Claire LeeSorted Array and BST ConversionBinary Search Tree is a sorted binary tree. Construct a BST from a sorted array by finding the middle element of the sorted array as root…Oct 22, 2022
Manish Mahesh TalrejaLeet Code Problem 33 — Search in Rotated Sorted ArrayGiven a rotated, sorted array nums (distinct values) and an integer target, find the index of target in nums. If target is not found…Nov 5Nov 5
Pashmeen KaurLeetcode-34: First and Last Position of Element in sorted array | Problem Solution | Binary SearchIf you came across this question: Find first and last position of element in sorted array and wonder huh, it’s a simple solution to…Dec 17, 20231Dec 17, 20231
InDev GeniusbyM Business SolutionsSweet Speed: Why Sorted Arrays Taste Better to Your ProcessorImagine you’re at a candy factory. When all your candies (data) are sorted by sweetness, you know exactly which flavors to expect next. But…Oct 1Oct 1
Manish Mahesh TalrejaLeet Code Problem 852 — Peak Index in a Mountain ArrayYou are given an integer mountain array arr of length n where the values increase to a peak element and then decrease.Nov 6
Claire LeeSorted Array and BST ConversionBinary Search Tree is a sorted binary tree. Construct a BST from a sorted array by finding the middle element of the sorted array as root…Oct 22, 2022
Manish Mahesh TalrejaLeet Code Problem 33 — Search in Rotated Sorted ArrayGiven a rotated, sorted array nums (distinct values) and an integer target, find the index of target in nums. If target is not found…Nov 5
Pashmeen KaurLeetcode-34: First and Last Position of Element in sorted array | Problem Solution | Binary SearchIf you came across this question: Find first and last position of element in sorted array and wonder huh, it’s a simple solution to…Dec 17, 20231
InDev GeniusbyM Business SolutionsSweet Speed: Why Sorted Arrays Taste Better to Your ProcessorImagine you’re at a candy factory. When all your candies (data) are sorted by sweetness, you know exactly which flavors to expect next. But…Oct 1
Connie ZhouMastering Data Algorithm — Part 2 Two-Pointer Technique and VisualizationsLast week, we discussed the two-pointer technique and illustrated it with four examples. This week, we’ll explore three more examples to…Jul 15
Ahsantariq4. Median of Two Sorted ArraysGiven two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.Aug 19