PinnedRakeshIndex of an additional element in sorted arrays | Problem solvingWe are looking at a problem which can be solved using binary search. Let us see the problem first where we have two sorted arrays which are…Jul 1, 2023Jul 1, 2023
PinnedRakeshElements in the unsorted array where the binary search principles guarantee to find them | Problem…We will be jumping into an interesting question of finding those elements in the unsorted array where the binary search rules help in the…Jul 9, 2023Jul 9, 2023
PinnedRakeshPolice and thieves puzzle | Problem solving | Data structuresWe will be looking at a scenario based question which revolves around catching thieves. We have an array which can only store the values…Jun 11, 2023Jun 11, 2023
PinnedRakeshZero sum sub-arrays in the array - Problem-solvingArray is a data structure that helps to get access to any element in O(1) time-complexity as the elements are stored in continuous…Jan 8, 2023Jan 8, 2023
PinnedRakeshAlternate the positive and negative numbers in the arrayOne of the most common questions we come across while solving the problems on data structures is to alternate the positive and negative…Dec 30, 2022Dec 30, 2022
Rakesh1248. Count Number of Nice Subarrays | LeetcodeWe have picked a problem from Leetcode which is about the concept of nice sub-arrays. We may visit the problem statement at the link…Oct 15, 2023Oct 15, 2023
Rakesh2105. Watering Plants II | Leet code | Coding InterviewWe have picked a question from Leet code again which is watering the plants by two people from two different ends. One from left to right…Oct 2, 2023Oct 2, 2023
Rakesh2444. Count Subarrays With Fixed Bounds | Leet codeHi guys, We are back again with another article in our problem solving series 😃. In this article, we have picked a problem on leet code…Sep 27, 2023Sep 27, 2023
Rakesh1695. Maximum Erasure Value | Leet code | Coding InterviewIn this article, we are going to look at a question taken from leet code which is to find the maximum sum of the sub-array whose elements…Sep 21, 2023Sep 21, 2023
RakeshWatering plants | Problem solving | Coding interviews | ArraysWe will be looking at a problem which is to water the plants in the order they appear from a river with a watering can of some capacity. We…Aug 27, 2023Aug 27, 2023