Saumyaa Gargsaumyaagarg.hashnode.devยทDec 13, 2024Day 16: Sliding Window TechniqueWelcome to Day 16 of my 100 Days of DSA challenge! Today, I dived into the sliding window technique, solving problems that required optimizing solutions for contiguous subarrays and substrings. This method is an elegant way to reduce redundant comput...10 likesWeek 3DSA
Tushar Panttusharpant.onlineยทDec 5, 2024Day 16 of 100 Days of DSA Challenge: Sliding Window TechniqueThe Sliding Window Technique is a powerful approach for solving problems involving contiguous subarrays or substrings. It minimizes redundant computations by maintaining a window of elements and adjusting it dynamically as the algorithm progresses. T...100 days of DSADSA
Kanchan Raikanchanraiii.hashnode.devยทDec 5, 2024Day 16: 100 Days of DSAWelcome to Day 16 of my 100 Days of DSA challenge! Today, I solved five problems focused on sliding window technique. Here's a quick look at the questions I tackled and how I approached them ๐คโจ Check out my GitHub repository for all my solutions and...100 Days of DSAsliding window
Abhishek Pandeyslidingwindowcodeshek.hashnode.devยทNov 22, 2024Sliding Window Template and Important Pattern ProblemsWhat is Sliding Window? The sliding window is a commonly used technique in solving array and string problems. It involves creating a window (a range of indices) that slides over the data structure to analyze or compute specific properties, such as su...Leetocde
Ekemini Thompsonekeminithompson.hashnode.devยทNov 17, 2024Arrays and Strings: The Sliding Window challengeImagine a bank in Nigeria that has a mobile banking app, where customers perform several transactions throughout the day. The bank needs to identify certain patterns in a customer's transaction behavior. For instance, the bank may want to identify if...data structures and algorithmsliding window
Akshaya Biswalakshaya-biswal.hashnode.devยทAug 25, 2024Best Time to Buy and Sell Stock ( Leetcode121)You are given an array where each element represents the price of a given stock on a day. You need to find the maximum profit you can achieve by buying on one day and selling on another later day. If no profit is possible, return 0. Approach: The sli...Data Structures and Algorithms in JavaScriptDSA
Musab Rayantechblogsbymusab.hashnode.devยทAug 24, 2024Essential Techniques for Array Problem Solving You Must Know ๐จโ๐ปIf you are doing competitive programming (CP) or simply solving problem-solving questions on arrays, optimizing the time complexity of your solutions is important, specially when you are dealing with large inputs. Two of the most effective techniques...1 likearray
SANTOSH SINGHsantoshsingh.hashnode.devยทAug 19, 2024Mastering the Sliding Window Technique in Problem SolvingThe sliding window method is a powerful technique that helps in optimizing solutions for a variety of problems, particularly those involving arrays or sequences. This approach is often more efficient than traditional methods like nested loops, making...3 likesProblem Solvers' Journalvariable sliding window
Makxmelsonic.hashnode.devยทAug 6, 2024You Don't Know Rate LimiterWhat is a Rate Limiter ๐ค Rate Limiter is a web application decision engine that decides whether a client request should be fulfilled or rejected. A rate limiter tracks the request rate against each client and if that exceeds a certain threshold, it ...10 likesratelimit
Michael Pipermichaelpiper.hashnode.devยทJul 30, 2024Understanding Binary Search, DFS, BFS, and Sliding Window with Sample Code in JavaLet's explore these fundamental algorithms and techniques using Java. 1. Binary Search Binary Search is an efficient algorithm for finding an item from a sorted list of items. It works by repeatedly dividing in half the portion of the list that could...31 readsalgorithms