#twopointer search results
#LeetCode 11, Container With Most Water, just using a two pointer approach to find the 'area' of the largest rectangle container of water you can form by selecting the two best lines. #JS #TwoPointer #Greedy
Day 25 โ - Solved 2 LeetCode Problems > 11 -> Container With Most Water (potd) > 392 -> Is Subsequence #twopointer
Day 59/100 ๐of #100DaysOfCode Solved Container With Most Water ๐ข๏ธ on LeetCode using the Two-Pointer technique โพ๏ธ Tackled a Codeforces problem ๐ป Another day of sharpening problem-solving #LeetCode #TwoPointer #Codeforces #DSA #ProblemSolving
New challenge before next Monday I will solve these sliding window and 2 pointer qs #SlidingWindow #TwoPointer
โ Day 81 of #100DaysOfDSA ๐LC 3467: Transform Array by Parity โ toggled evensโ0, oddsโ1; 2 versions โ O(n log n) & O(n) ๐ฏ runtime ๐ ๐LC 2460: Apply Ops to Array โ merged equal adjacents, shifted non-zeros in O(n) #Array #TwoPointer #Sorting #100DaysOfCode
โ Day 103 of #100DaysOfDSA ๐ LC 611: Valid Triangle No Sort the array, fix the largest side, and use two pointers to find valid pairs. If nums[left] + nums[right] > nums[i], add (right - left) to count and move right--; else move left++. โฑ O(nยฒ) | O(1) #TwoPointer #Greedy
โจ GFG 160 โ Day 60 ๐ Problem: Container With Most Water ๐ง Approach: Used two-pointer technique to find the max area between vertical lines. Moved the pointer with the smaller height to potentially maximize area. โฑ๏ธ TC: O(N) | SC: O(1) #Day60 #gfg160 #TwoPointer #DSAChallenge
๐ Solved: Merge Sorted Array ๐ข Used the Two Pointer Approach ๐ โ Compare elements from both arrays โ Start merge from backwards and place greater elements at correct order โ Handle remaining elements efficiently ๐ Clean & Optimal: O(m+n) #LeetCode #DSA #TwoPointer
Container With Most Water ๐ฐ Two-pointer technique โ O(n) | O(1) ๐ Move pointer at smaller height Fav LeetCode Medium in FAANG interviews! #LeetCode #TwoPointer #CodingPrep #EngineeringLife #day5 #dsachallenge #cplusplus
Day 16: Continuing my #100DaysOfCode, today I solved Two Sum II - Input Array Is Sorted LeetCode - 167 I used a two-pointer approach to find indices in O(n) time. #dsa #twopointer #python #CodingJourney #100DaysOfCode #programming #webdev #Webdesign
Day 25 โ - Solved 2 LeetCode Problems > 11 -> Container With Most Water (potd) > 392 -> Is Subsequence #twopointer
#LeetCode 11, Container With Most Water, just using a two pointer approach to find the 'area' of the largest rectangle container of water you can form by selecting the two best lines. #JS #TwoPointer #Greedy
โ Day 103 of #100DaysOfDSA ๐ LC 611: Valid Triangle No Sort the array, fix the largest side, and use two pointers to find valid pairs. If nums[left] + nums[right] > nums[i], add (right - left) to count and move right--; else move left++. โฑ O(nยฒ) | O(1) #TwoPointer #Greedy
#100DaysOfDSA Revised some #TwoPointer & #SlidingWindow problems โ Substrings with K distinct characters โ Minimum removal for target sum โ Minimum window substring โ K sized subarray maximum value โ Trapping rain water #100DaysOfCode #DSA #CodingJourney #CodingChallenge
๐ Solved: Merge Sorted Array ๐ข Used the Two Pointer Approach ๐ โ Compare elements from both arrays โ Start merge from backwards and place greater elements at correct order โ Handle remaining elements efficiently ๐ Clean & Optimal: O(m+n) #LeetCode #DSA #TwoPointer
New challenge before next Monday I will solve these sliding window and 2 pointer qs #SlidingWindow #TwoPointer
Day 59/100 ๐of #100DaysOfCode Solved Container With Most Water ๐ข๏ธ on LeetCode using the Two-Pointer technique โพ๏ธ Tackled a Codeforces problem ๐ป Another day of sharpening problem-solving #LeetCode #TwoPointer #Codeforces #DSA #ProblemSolving
#day218 of 365 days of coding challenge Problems: Boats to Save People Divide by 11 #twopointer #365DaysofCode #AmazonQuestion
Day 5 of #30DaysCoding Challenge! ๐ ๐ Studying Two Pointer and Sliding Window techniques from Striver. Tackling more efficient solutions and enhancing my problem-solving skills. Onward and upward! ๐ชโจ #DSA #TwoPointer #SlidingWindow #CodingJourney #30DaysCoding #Learning
โ Day 103 of #100DaysOfDSA ๐ LC 611: Valid Triangle No Sort the array, fix the largest side, and use two pointers to find valid pairs. If nums[left] + nums[right] > nums[i], add (right - left) to count and move right--; else move left++. โฑ O(nยฒ) | O(1) #TwoPointer #Greedy
Day 25 โ - Solved 2 LeetCode Problems > 11 -> Container With Most Water (potd) > 392 -> Is Subsequence #twopointer
โ Day 81 of #100DaysOfDSA ๐LC 3467: Transform Array by Parity โ toggled evensโ0, oddsโ1; 2 versions โ O(n log n) & O(n) ๐ฏ runtime ๐ ๐LC 2460: Apply Ops to Array โ merged equal adjacents, shifted non-zeros in O(n) #Array #TwoPointer #Sorting #100DaysOfCode
Day 16: Continuing my #100DaysOfCode, today I solved Two Sum II - Input Array Is Sorted LeetCode - 167 I used a two-pointer approach to find indices in O(n) time. #dsa #twopointer #python #CodingJourney #100DaysOfCode #programming #webdev #Webdesign
#LeetCode 11, Container With Most Water, just using a two pointer approach to find the 'area' of the largest rectangle container of water you can form by selecting the two best lines. #JS #TwoPointer #Greedy
Something went wrong.
Something went wrong.
United States Trends
- 1. #UFCQatar 46.1K posts
- 2. Harden 11.1K posts
- 3. Liverpool 181K posts
- 4. Newcastle 49K posts
- 5. Mizzou 4,358 posts
- 6. Rutgers 5,636 posts
- 7. Mateer 1,998 posts
- 8. Talty N/A
- 9. Mercer 1,879 posts
- 10. Caden Curry N/A
- 11. Chris Paul 14.4K posts
- 12. #Sooners 1,441 posts
- 13. Arbuckle N/A
- 14. Harvey Barnes 4,667 posts
- 15. Slot 124K posts
- 16. Ryan Day 2,398 posts
- 17. Missouri 10.7K posts
- 18. Horiguchi 4,846 posts
- 19. Waldo 4,531 posts
- 20. Luke Riley 2,393 posts