MSManikandan Sinmanikandan4411.hashnode.dev·Jul 20 · 6 min readArrays in JavaIntroduction When working with Java, you often need to store multiple values of the same data type. Instead of creating separate variables for each value, Java provides Arrays, which allow you to stor00
AAnnetinhtml-portfolio.hashnode.dev·Jul 18 · 5 min read Codeforces Journey #3: Learning Arrays Through Beginner-Friendly ProblemsAfter solving my first 20 Codeforces problems, I decided to focus on one of the most fundamental topics in Data Structures—Arrays. Instead of randomly solving problems, I chose problems that helped me00
AAnnetinhtml-portfolio.hashnode.dev·Jul 16 · 4 min readArrays in Python: A Beginner's Guide to Common OperationsArrays are one of the first data structures every programmer learns. They allow us to store multiple values in a single variable and access them efficiently using indexes. In Python, we commonly use l00
PJPuja Jorwarinpujajorwar.hashnode.dev·Jul 1 · 8 min readFinding Majority Elements (> n/3) — From Brute Force to Boyer-MooreWhen solving array problems, it is easy to stop once your code passes the test cases. But the real learning happens when you push from a working solution to an optimal one. Today, let's look at the Ma00
AAAbstract Algorithmsinabstractalgorithms.hashnode.dev·Jul 2 · 1 min readSliding Window TechniqueThe sliding window technique avoids redundant calculations by keeping track of a subset of elements (the "window") as it moves across an array or string. 📊 How it works Window of size K = 3: ┌───┬───00
AAAbstract Algorithmsinabstractalgorithms.hashnode.dev·Jul 2 · 2 min readTwo Pointers TechniqueThe two pointers technique uses two indices to iterate over a data structure (typically an array or a linked list) to solve problems with optimal time complexity. It is commonly used to find pairs in 00
PJPuja Jorwarinpujajorwar.hashnode.dev·Jun 30 · 7 min readNext Permutation — The 3-Step Algorithm That Made Everything ClickMost solutions I found online just showed me code with zero explanation of why it works.After solving this problem, I finally understood the pattern. Let me save you the confusion. 📖 First — What is00
SBSimran Baliinsimranbali-dsa.hashnode.dev·Jun 16 · 6 min readLC 41. First Missing Integer (Hard)Problem Statement Given an unsorted integer array A, return the smallest missing positive integer. You must implement an algorithm that runs in O(n) time and uses O(1) auxiliary space. Example 1 I21X
PAPixel and Codeinlearning-data-structures.hashnode.dev·May 21 · 8 min readArraysAn array is a linear data structure used to store a group of elements of the same data type together in a single variable. These elements are stored in continuous (contiguous) memory locations, and ea00
AKArun Kumar Venkitaramaninaklogs.hashnode.dev·May 10 · 3 min readWhy NumPy Transpose is almost instant - Understanding StridesMost operations on large NumPy arrays are computationally expensive, so I naturally assumed that transposing one would involve rearranging huge chunks of data in memory. But when I tried it and saw it00