DSA blogs and articles
DSA (Data Structures and Algorithms) is a fundamental concept in computer science that focuses on efficiently storing, organizing and processing data. Data structures like arrays, linked lists, stacks and trees manage data, while algorithms provide step-by-step solutions to problems. Mastering DSA is essential for writing optimized, scalable and high-performance code.
DSA blogs
Segment Tree Explained: Range Queries, Updates and Lazy Propagation
Learn how segment trees work: O(log n) range queries, point updates, lazy propagation, Java code, Fenwick tree comparison and interview questions.
BlogRead blogGreedy Algorithms Explained: How They Work, When They Fail and How to Use Them
Learn greedy algorithms step by step with C# code Dijkstra, Huffman coding, knapsack and MSTs plus when greedy fails and how to prove it's correct
BlogRead blogAmazon SDE II Interview Experience (Bangalore, Selected) ~ Aug 2026
Amazon SDE II interview experience from Bangalore covering 4 rounds, DSA, LLD, system design, Leadership Principles, coding questions and selection.
BlogRead blogI Interviewed for a Microsoft SDE I Role. Here's Everything That Happened.
My real Microsoft SDE I interview experience, all 4 rounds, the exact DSA problems with fully tested solutions, the WhatsApp system design round
BlogRead blogAdobe Computer Scientist 1 Interview Experience: Real Questions, Solutions & Tips
Real Adobe CS-1 interview experience covering C++, DSA questions, coding solutions, reschedules, rejection, interview challenges and preparation tips.
BlogRead blogHow to Find the Right View of a Binary Tree
Learn how to find the right view of a binary tree using DFS and BFS, with examples, code, complexity analysis and coding interview tips.
BlogRead blogLeft View of a Binary Tree: DFS and BFS Approaches Explained
Learn how to find the left view of a binary tree using DFS and BFS, with examples, code, complexity analysis, common mistakes and interview tips.
BlogRead blogTop View of a Binary Tree Using BFS and DFS | Complete Guide
Learn how to find the top view of a binary tree using DFS and BFS with step-by-step explanations, examples, code, complexity analysis and interview insights.
BlogRead blogBottom View of a Binary Tree: DFS vs BFS Approach
Learn to find the bottom view of a binary tree using horizontal distance. Compares a buggy DFS attempt, a fixed DFS and the optimal BFS solution in Java.
BlogRead blogLongest Playlist With No Repeated Songs : Brute Force to Optimal
Find the longest playlist with no repeated songs using brute force, HashSet, and HashMap sliding window techniques, with Java code and dry runs.
BlogRead blog
DSA articles
What is Two Pointer Approach?
The two-pointer technique is a foundational pattern for solving array, string, and linked-list problems in linear (or near-linear) time with constant extra space
ArticleRead articleAmazon Transaction Logs
Amazon Transaction Logs (example question), Amazon Transaction Logs Interview question
ArticleRead article2 Sum - Pair Sum Closest to 0
2 Sum - Pair Sum Closest to 0 , Sum of two elements whose sum is closest to zero , array DSA problem, coding problem , DSA coding problem , DSA interview coding problem
ArticleRead article2 Sum – Count Pairs with given Sum in Sorted Array
2 Sum – Count Pairs with given Sum in Sorted Array, two sum , Count pairs with given sum , 2 sum problem , array DSA problem, coding problem , DSA interview coding problem
ArticleRead article2 Sum Count pairs with given sum
2 Sum – Count pairs with given sum, two sum , Count pairs with given sum , 2 sum problem , array DSA problem, coding problem , DSA interview coding problem
ArticleRead articleTwo Sum - Pair with given Sum
Two Sum – Pair with given Sum , 2 sum problem , array DSA problem, coding problem , DSA coding problem , DSA interview coding problem
ArticleRead articleContainer With Most Water
Container With Most Water | You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container such that the container contains the most water.
ArticleRead articleMaximum Product of Three Numbers
Maximum product of a triplet (subsequence of size 3) in array | Maximum Product of Three Numbers | Given an integer array arr, find three numbers whose product is maximum and return the maximum product.
ArticleRead article3 Sum : Find triplets that add up to a target value
3 Sum : Find triplets that add up to a target value, 3 sum problem , Triplet Sum in Array , Given an integer array nums, return all the triplets that add up to a target value
ArticleRead articleMaximum Product Subarray
Maximum Product Subarray, Find Maximum Product Subarray in an Array, Given an integer array arr, find a subarray that has the largest product,
ArticleRead article
DSA: frequently asked questions
Quick answers about learning DSA on DevBrainiac.
What is DSA?
DSA (Data Structures and Algorithms) is a fundamental concept in computer science that focuses on efficiently storing, organizing and processing data. Data structures like arrays, linked lists, stacks and trees manage data, while algorithms provide step-by-step solutions to problems. Mastering DSA is essential for writing optimized, scalable and high-performance code.
Where can I learn DSA on DevBrainiac?
DevBrainiac has 17 articles and 59 blogs about DSA. A good place to start is "What is Two Pointer Approach?" and "Amazon Transaction Logs".
Where can I ask DSA questions?
Ask your DSA question in the DevBrainiac Q&A community, where developers answer each other's questions.
What other topics can I learn on DevBrainiac?
Popular topics on DevBrainiac include Language-Concepts, AI, MySQL, Experienced Candidate Intervie and Coding Problems.
Popular topics
- Language-ConceptsThis tag is used to understand a basic part of the language.Explore Language-Concepts
- AIArtificial Intelligence (AI) is the simulation of human intelligence in machines, enabling them to think, learn and make decisions. It powers systems to solve problems, recognize patterns, understand language and adapt over time. AI is used in various fields, including robotics, healthcare, finance and everyday applications like virtual assistants.Explore AI
- MySQLMySQL is an open-source relational database management system widely used for storing and managing structured data. It supports SQL for querying, updating and controlling data efficiently. Known for reliability, speed and scalability, MySQL powers web applications, enterprise systems and cloud platforms. It is commonly used with PHP, Java, Python and modern application stacks like LAMP and MERN.Explore MySQL
- Experienced Candidate IntervieExperienced Candidate Interview is a hiring process designed for professionals with prior work experience, focusing on advanced technical expertise, real-world problem-solving, system design knowledge, leadership ability and past project impact. It evaluates not only skills but also decision-making, ownership and contribution to business outcomes.Explore Experienced Candidate Intervie
- Coding ProblemsCoding problems are exercises designed to test a programmer’s ability to write logic, solve challenges and apply algorithms or data structures. They help improve problem-solving skills, logical thinking and coding efficiency. Common in interviews and competitive programming, coding problems range from simple tasks to complex algorithmic challenges, preparing developers for real-world software development scenarios.Explore Coding Problems
- System DesignSystem design is the process of defining the architecture, components, modules, interfaces and data flow of a system to meet specific requirements. It focuses on creating scalable, efficient and maintainable solutions, covering both high-level design (HLD) and low-level design (LLD). Essential for building reliable, high-performance software systems.Explore System Design
- Distributed SystemA distributed system is a network of independent computers that work together to achieve a common goal. These systems share resources, process tasks in parallel and ensure fault tolerance. Used in cloud computing, databases and large-scale applications. They improve scalability, reliability and performance by distributing workloads across multiple nodes efficiently.Explore Distributed System
- Interview PreparationInterview Preparation is the process of getting ready to perform confidently and effectively in a job interview. It includes researching the company, understanding the job role, practicing common interview questions, improving communication skills and reviewing technical or domain knowledge. Proper interview preparation increases confidence, reduces anxiety, and improves your chances of securing the job.Explore Interview Preparation
- Software DesignSoftware design is the process of planning and structuring a software system’s architecture, components, interfaces, and data flow to meet functional and non-functional requirements. It ensures scalability, maintainability and performance. Key approaches include modular design, object-oriented design and architectural patterns like MVC and microservices for efficient, reliable software development.Explore Software Design
- InterviewA structured conversation where one participant asks questions and the other provides answers of those questions.Explore Interview
Keep practising DSA
Test yourself with a quiz, run code in the online compiler or ask the community.