Coding Problems blogs and articles
Coding 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.
Coding Problems blogs
How 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 blogDSA Patterns for Coding Interviews: Complete LeetCode Roadmap (Beginner to Advanced)
Master every LeetCode pattern for coding interviews. Learn Arrays, Sliding Window, Graphs, Dynamic Programming, Trees, Heaps and more with 250+ curated problem
BlogRead blogMaximum Productivity After Employee Rearrangement | Dynamic Programming Assignment Problem
Maximize team productivity after employee rearrangement using Dynamic Programming. Learn the key observation, DP state design, transitions, and O(N²) solution.
BlogRead blogMinimum Cost to Sort an Array by Sorting Subarrays
Minimum Cost to Sort Array problem explained with brute force, optimal approach, chunks, DSA intuition, Java/C++/Python/C# solutions.
BlogRead blogContain Virus : Deep, Intuitive & Fully Explained Guide
Contain Virus problem explained with DFS + greedy approach, step-by-step simulation, examples and optimized solutions for coding interviews.
BlogRead blogHow Senior Devs Design Exception Patterns
Learn 7 advanced exception handling patterns senior developers use to build resilient systems beyond try-catch, including fail-fast, retries and structured logging.
BlogRead blog
Coding Problems articles
Sliding Window Algorithm : Beginners to Advanced Engineers
Sliding Window Algorithm, What is the Sliding Window Approach?, Why Use Sliding Window? Where to Use Sliding Window, How Sliding Window Works with Examples
ArticleRead articleCheck if a Linked List is Palindrome
Palindrome Linked List | Check if a Linked List is Palindrome O(n) time and O(1) space | Fast & Slow Pointer Method with In-Place Second Half Reversal
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 article
Coding Problems: frequently asked questions
Quick answers about learning Coding Problems on DevBrainiac.
What is Coding Problems?
Coding 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.
Where can I learn Coding Problems on DevBrainiac?
DevBrainiac has 25 articles and 24 blogs about Coding Problems. A good place to start is "Sliding Window Algorithm : Beginners to Advanced Engineers" and "Check if a Linked List is Palindrome".
Where can I ask Coding Problems questions?
Ask your Coding Problems 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 High-Level Design (HLD), Technical Interview, Interview Questions, Application Design and Java.
Popular topics
- High-Level Design (HLD)High-Level Design (HLD) outlines the system architecture and overall structure of a software solution. It defines components, modules, data flow, technologies and their interactions. HLD focuses on scalability, performance and reliability, serving as a bridge between requirements and Low-Level Design. It’s essential for planning system-wide decisions.Explore High-Level Design (HLD)
- Technical InterviewTechnical Interview is a structured assessment where employers evaluate a candidate’s technical skills, problem-solving ability and practical knowledge related to a specific role. It typically includes coding challenges, system design questions, debugging tasks and discussions about past projects. The goal of a technical interview is to measure how effectively a candidate can apply their technical expertise to solve real-world problems.Explore Technical Interview
- Interview QuestionsInterview Questions are structured queries asked by employers to evaluate a candidate’s technical skills, problem-solving ability, experience, communication skills and cultural fit. These questions can include HR, behavioral, technical, coding and situational topics to assess whether the candidate is suitable for the job role and organization.Explore Interview Questions
- Application DesignApplication design is the process of planning and structuring an application’s architecture, user interface, data flow and functionality to meet user and business requirements. It involves decisions on technology stack, design patterns, scalability and security. Good application design ensures performance, maintainability and a seamless user experience across platforms and devices.Explore Application Design
- JavaJava is a high-level object-oriented programming language. it's firstly released by Sun Microsystems in 1995. Use this tag when you're having queries using or understanding the language. This tag is also applicable to Java libraries and frameworks.Explore Java
- System Design InterviewSystem Design Interview is a technical interview round where candidates design scalable, reliable and efficient software systems. It evaluates understanding of architecture, databases, APIs, scalability, load balancing, caching and real-world problem-solving to assess the ability to build large-scale applications.Explore System Design Interview
- Language-ConceptsThis tag is used to understand a basic part of the language.Explore Language-Concepts
- DSADSA (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.Explore DSA
- 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
- 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
Keep practising Coding Problems
Test yourself with a quiz, run code in the online compiler or ask the community.