PinnedCoffee AddictionMerging Two Linked Lists in Java: A Step-by-Step Guide with bonus tips at the endLinked lists are fundamental data structures used to store and organize data. Merging two linked lists efficiently is a common task…Mar 25Mar 25
PinnedCoffee AddictioninDev GeniusWindow Sliding Technique — Find the maximum sum subarray of a fixed size kThe window sliding technique using two pointers is an efficient approach to solving problems where you need to maintain a subarray or…Dec 1, 2023Dec 1, 2023
Coffee AddictionFind the longest common prefix string amongst an array of stringsTo find the longest common prefix among an array of strings, we can optimize the approach to reduce unnecessary comparisons and improve…Mar 25Mar 25
Coffee AddictionDemystifying Dynamic Programming: A Guide to Optimizing Problem-SolvingDynamic programming is a powerful technique for solving complex problems by breaking them down into simpler subproblems and solving each…Mar 23Mar 23
Coffee AddictionGreedy algorithm and optimized solution for Coin Change ProblemDescription: Given a set of coin denominations and a target amount, find the minimum number of coins needed to make up that amount.Mar 23Mar 23
Coffee AddictioninDev GeniusAlgorithm, Time complexity to check if a linked list is a palindromeSlow and fast pointer’s example Nov 26, 2023Nov 26, 2023
Coffee AddictioninDev GeniusFind the middle of a linked list using two pointers and it’s time complexityNov 24, 2023Nov 24, 2023
Coffee AddictioninDev GeniusWhat is Fast and Slow pointers and When to use them in coding?Nov 24, 20231Nov 24, 20231
Coffee AddictioninDev GeniusHow to read the raw, non-deserialized HTTP request body in Go kit?In Go kit, if you want to read the raw, non-deserialized HTTP request body, you can use the standard net/http package to achieve this…Nov 24, 2023Nov 24, 2023