Hhimanshu·Feb 28Day 20 - Search in Rotated Sorted ArrayQuestion You are given an array of length n which was originally sorted in ascending order. It has now been rotated between 1 and n times. For example, the array nums = [1,2,3,4,5,6] might become: [33 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 22Day 18 - Koko Eating BananasQuestion You are given an integer array piles where piles[i] is the number of bananas in the ith pile. You are also given an integer h, which represents the number of hours you have to eat all the ban3 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 21Day 17 - Search a 2d MatrixQuestion You are given an m x n 2-D integer array matrix and an integer target. Each row in matrix is sorted in non-decreasing order. The first integer of every row is greater than the last integer3 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 20Day 16 - Daily TemperaturesQuestion You are given an array of integers temperatures where temperatures[i] represents the daily temperatures on the ith day. Return an array result where result[i] is the number of days after the4 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 19Day 15 - Evaluate Reverse Polish NotationEvaluate arithmetic expressions in Reverse Polish Notation using a stack-based approach for quick integer results2 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 18Day 14 - Min StackDesign a MinStack supporting push, pop, top, and getMin operations efficiently, running each in O(1) time3 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 16Day 13 - Valid ParenthesisCheck if a string of brackets is valid using a stack-based algorithm. Efficient solution with O(n) time complexity2 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 15Day 12 - 3SumFind all unique triplets in an integer array that sum to zero using a two-pointer technique for efficient results3 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 13Day 11 - Two Integer Sum IIFind two indices from a sorted array that sum to a target, using a two-pointer technique2 min read·blogs-himanshu.hashnode.dev
Hhimanshu·Feb 12Day 10 - Valid PalindromeDetermine if a string is a palindrome, ignoring case and non-alphanumeric characters, using a two-pointer approach2 min read·blogs-himanshu.hashnode.dev