Data structures and algorithms
129 articles. Arrays, linked lists, trees, graphs, sorting, searching and problem solving. Showing 1–100.
Data structures and algorithms articles (1–100)
- Applications of Stack in Data StructureIn the vast world of computer science, data structures serve as the foundation for creating efficient and scalable software applications.
- Single Linked List Implementation in CWhen it comes to data structures in C programming, linked lists are truly one of the essential building blocks. A singly linked list is a dynamic…
- Stack Example: Implementation in CStacks are one of the cornerstones of data structures in programming, playing a crucial role in algorithms, compilers, operating systems, and much…
- Optimal Binary Search TreeLearn the concept of Optimal Binary Search Tree with a clear algorithm and example to boost your understanding of efficient searching.
- Bubble Sort in C with Code, Example, and Step-by-Step GuideLearn how Bubble Sort works with a complete C code example and step-by-step explanation.
- Quick Sort Algorithm in C: Explanation with Code and OutputMaster Quick Sort in C using this guide with clear code, logic explanation, and example outputs. Ideal for students and job preparation.
- Types of Sorting Algorithms in Data Structures with Use CasesMaster the different types of sorting algorithms in data structures — including bubble, merge, quick, heap, and more.
- Hash Function in Data Structure ExplainedIn the realm of data structures, efficiency is absolutely key. One of the most effective tools for achieving quick access, insertion, and deletion…
- Learn Binary Search in C with Code ExampleWant to learn binary search in C the easy way? Imagine finding your favorite book in a huge library without checking every shelf. That’s what…
- Best Websites to Practice DSA for FreeData Structures and Algorithms (DSA) form the backbone of computer science. Whether you are preparing for coding interviews, competitive…
- Binary Tree in Data Structures (Examples, Types, Traversal, Operations)Boost your data structure skills by learning Binary Trees—types, traversals, and operations explained clearly with examples to aid algorithm mastery.
- Types of Graph in Data Structure with Clear VisualsDiscover various types of graphs in data structure with clear visual representations, definitions, and practical examples for better understanding.
- Time Complexity of Sorting Algorithms: A Comprehensive GuideUnderstand the time complexities of various sorting algorithms like Quick Sort, Merge Sort, and Bubble Sort with clear explanations and comparisons.
- AVL Tree Full Form, Explanation & C ProgramIf you’ve started learning about binary trees in Data Structures, you’ve probably come across the term AVL Tree. But what exactly is it, and why…
- Data Structure Projects for College StudentsIf you’re a computer science or engineering student, data structures are not just a chapter in your syllabus — they’re the foundation of your…
- All Pair Shortest Path Algorithm with ExamplesUnderstand the all pair shortest path algorithm in depth. Learn its logic, key use cases, and how it works with Floyd-Warshall and other methods.
- Merge Sort in C: Code, Working Mechanism & Time ComplexityExplore Merge Sort in C with this complete guide—includes code examples, how it works, and an in-depth analysis of its time and space complexity.
- Array-Based Stack in C: Push, Pop & Peek ExplainedImplement an efficient stack using arrays in C. Learn push, pop, peek operations, error handling, and real-world use cases for performance-minded…
- Mastering Tree Traversal: Inorder, Preorder, Postorder GuideLearn about tree traversal methods in data structures. This guide covers Inorder, Preorder, and Postorder techniques with examples and explanations.
- Tree Traversal Algorithms ExplainedIn the realm of data structures, trees are essential for efficiently organizing hierarchical data. But just having a tree isn’t enough—you also…
- Single Linked List in Data Structure: Code & Use CasesLearn about single linked lists in data structures with C code examples and real-world use cases like memory management, queues, and undo operations.
- Floyd’s Algorithm: Learning Path, Key StepsEver wondered how algorithms find the shortest paths in complex networks? That’s where Floyd’s Algorithm comes in.
- What Is Bubble Sort? Working and ExamplesWhen you start learning about algorithms and sorting techniques, one name that frequently pops up is Bubble Sort. It is often one of the first…
- Merge Sort Algorithm in DAA | Python Example & StepsMaster merge sort in DAA with clear Python examples, step-by-step explanation, and real-world applications. Ideal for algorithm and coding learners.
- Memory Layout in C: Stack, Heap, and SegmentsMaster C memory layout—stack, heap, data, and text segments. Avoid crashes, fix memory leaks, and write more efficient, crash-free C programs.
- Recursion in C Programming: Concepts & ExamplesLearn recursion in C programming with clear concepts, practical examples, and common use cases to master this powerful coding technique.
- Understanding Recursion in Data Structures: TypesRecursion is a programming technique where a function calls itself to solve a problem.
- Time Complexity of Binary Search Algorithm ExplainedExplore the time and space complexity of the Binary Search algorithm with real examples.
- Dijkstra Algorithm in C: Step-by-Step Guide with Code and ExamplesMaster Dijkstra's Algorithm with this complete guide and C program implementation.
- AVL Tree in Python: Examples, Rotations & Code GuideLearn AVL tree in Python with code examples, rotations, and balance factors. Understand insertions, deletions, and real-world applications…
- Recursive Algorithm in ProgrammingRecursive algorithms are at the heart of many essential concepts in programming and data structures. Whether it’s navigating through tree…
- Fibonacci Series in C Using Recursion ExplainedUnderstand Fibonacci series and recursion in C with simple examples, code walkthrough, real-life use cases, and performance insights for beginners…
- Travelling Salesman Problem Using Dynamic ProgrammingLearn the Travelling Salesman Problem (TSP) using dynamic programming with bitmasking, syntax, examples, and complexity analysis.
- Greedy Algorithm Basics with Real-Life ExamplesLearn the fundamentals of greedy algorithms through simple explanations and real-world examples. Perfect for beginners in coding and algorithm design.
- Dijkstra’s Algorithm Time ComplexityUnderstand Dijkstra’s Algorithm time complexity for different data structures — from simple arrays to binary and Fibonacci heaps.
- MERN Project Ideas for Beginners: Start Your Full-Stack Journey the Easy Way 🚀So, you’ve decided to learn full-stack development? That’s amazing! But let’s be honest -starting out can feel a little overwhelming.
- What Is DSA ( Data Structures and Algorithms) Complete GuideIn this high-tech era, it is not enough to see how to code. The essence of being a great programmer is actually based upon their knowledge of Data…
- BFS Algorithm Explained with Real-Life Uses & Python CodeLearn the BFS algorithm with Python examples, real-world uses, and expert tips. Ideal for students and professionals in Uncodemy Data Structures…
- Counting Sort Algorithm Explained with ExamplesSorting algorithms are the backbone of computer science. From organizing numbers in ascending order to arranging names alphabetically, sorting is…
- Merge Sort in C: Learn with Code, Steps & ExplanationUnderstand merge sort in C with step-by-step code, time complexity, and real use cases. A must-learn sorting algorithm for C programming beginners.
- Spanning Tree in Data Structure Explained with ExamplesPrimary Keyword: Spanning Tree in Data Structure Relevant Course: Uncodemy’s Data Structures and Algorithms Course in Noida
- Recursion in C: Beginner-Friendly Guide with ExamplesMaster recursion in C with clear, beginner-friendly examples like factorial, Fibonacci, and arrays. Build coding skills through structured learning.
- Hash Table in Data Structure Concept and ImplementationHash tables are a basic data type which covers storage of key value pairs and is efficient in data retrieval, insertion and deletion due to an…
- Merge Sort in C: Code, How it Works & ComplexityGet a comprehensive understanding of Merge Sort in C. We provide executable code, a clear explanation of its steps, and its Big O time complexity.
- B+ Tree in Data Structures: Concepts, Uses & ExamplesMaster B+ Trees in data structures with clear explanations, use cases, operations, and examples. Ideal for backend development and coding interviews.
- LCS Algorithm Demystified: Code Examples for NewbiesLearn the LCS algorithm step-by-step with easy-to-follow code examples. Perfect for beginners looking to enhance their programming skills!
- Understanding the DES Algorithm in CryptographyLearn how the DES algorithm works in cryptography. Explore its encryption process, strengths, weaknesses, and role in securing data communications.
- Heap Data Structure: Definition and ApplicationsWhen it comes to organizing data efficiently, especially for operations like sorting or managing priority tasks, the heap data structure steps in…
- Red-Black Tree Tutorial: Data Structure ExplainedExplore red-black trees in-depth. Understand their rules, balance logic, and why they're key in coding, databases, OS design, and system apps.
- Hashing Techniques in Data StructuresWhen working with data structures and algorithms, one concept that keeps popping up is hashing. From implementing efficient search operations to…
- Queue Operations Explained with CodeA queue doubles as the ordered list in which the insertion- deletion takes place at the rear (or back) and front (or head) respectively. It is a…
- AVL Tree Insertion Algorithm and Code with Balancing StepsAVL trees are a variant of self-balancing binary search tree in which the structure is automatically balanced following such operations as…
- Master Data Structure Diagrams for Effective ProgrammingUnderstand data structure diagrams and improve learning. Visual tools simplify programming concepts, helping you build stronger coding foundations.
- Binary Tree Traversal in Data Structure : Types and CodeLearn all about binary tree traversal methods: In-order, Pre-order, and Post-order. Understand these essential data structure concepts with clear…
- Master B-Trees in C++: Insertion, Deletion & SearchUnderstand B-Trees with clear C++ examples. Discover their use in databases, file systems, and how they outperform binary trees for large-scale…
- Floyd’s Algorithm Unveiled: Applications in the Real WorldFloyd’s Algorithm simplifies pathfinding. Dive into its explanation and explore real-world applications across different industries.
- Master Divide and Conquer Algorithm with C ExamplesExplore the divide and conquer algorithm with real-world use cases, C code implementation, and hands-on learning via Uncodemy C course in Noida.
- Real-Life Applications of Graph AlgorithmsWhen you first hear about Graph Algorithms in computer science, it may feel like something abstract – just nodes and edges drawn in circles and…
- Binary Search Tree (BST) Explained with Insertion and Traversal CodeLearn Binary Search Tree (BST) concepts with clear explanations, insertion logic, and traversal code examples in C/C++. Great for beginners
- DSA Meaning: What Is Data Structures and Algorithms?What does DSA mean? Learn what data structures and algorithms are, why they matter for efficient programming and how they help in technical…
- Tree Traversal in Data Structure Using PythonNavigating the world of data structures can sometimes feel like venturing into a dense forest. Among these structures,
- How to Practice DSA DailyIn today’s tech-driven job market, Data Structures and Algorithms (DSA) are essential for any programmer, especially if you're aiming for roles in…
- Mastering Search Algorithms: Linear & Binary Search ExplainedUnderstand linear and binary search algorithms, their advantages, and when to use each. Essential knowledge for data structures and coding interviews.
- What Is Tail Recursion? Pros and Use CasesIn programming, recursion is a concept that is as elegant as it is challenging. It involves a function calling itself in order to break down…
- Bubble Sort Program in C with ExplanationWarshall algorithm can be effectively used to decide whether the graph formerly known as directed graph has a path connecting two vertices or not.…
- Types of Sorting in Data Structures with ExamplesLearn key types of sorting in data structures. Explore Bubble, Merge, Insertion, and Selection Sort with code, use cases, and complexity analysis.
- Circular Doubly Linked List in C with ExamplesUnderstand Circular Doubly Linked Lists in C with full code, insertion, deletion, and traversal. Boost your DSA skills with real-world examples…
- Java Queue Explained: Types, Implementation, and ExamplesMaster the different types of queues in Java. Learn implementation using interfaces and classes like PriorityQueue and LinkedList with code.
- BFS and DFS Algorithm Explained with CodeBreadth-First Search (BFS) and Depth-First Search (DFS) are two fundamental graph traversal algorithms widely used in computer science. They…
- Sum of Digits Program: Algorithm and CodeHave you ever looked at a number and wondered what the total of all its digits would be? For example, if you take the number 1234, the sum of its…
- Radix Sort Algorithm Explained SimplyRadix Sort is an integer sorting algorithm which sorts data by aggregating the keys into groups by individual digits which have the same…
- Time Complexity: All Sorting Algorithms Clearly ExplainedMaster the time complexity of popular sorting algorithms like Bubble, Merge, Quick, and more.
- What Is Circular Queue? Explained for CS & DSA LearnersLearn what a circular queue is, its real-world use, and how it solves memory issues in programming. Part of the Uncodemy Data Structure course in…
- Complete Guide to Sorting Algorithms with ExamplesExplore key sorting algorithms with clear logic, pros & cons, space/time complexities, and coding tips for beginners and advanced learners.
- Factorial Program in C++ Using Loop and RecursionMaster factorial programming in C++ with detailed recursive and iterative examples. Understand performance, logic building, and common coding…
- Linked List Insertion Techniques in CLearn essential linked list insertion techniques including insertion at beginning, end, specific position, and after a node.
- What Is Heap Sort Algorithm and Time ComplexitySo what is heap sort? Algorithm and Aspects of Time Sorting is regarded as one of the most basic procedures in computer science and a number of…
- Linked List Traversal in C++: Easy & Advanced MethodsLearn how to traverse a linked list in C++ using loops, recursion, and two-pointer methods. Ideal for mastering data structures and coding interviews.
- Heap Sort Algorithm Explained: Data Structure, Code, and Use CasesMaster Heap Sort with our in-depth guide covering the heap data structure, types (min/max), insertion, deletion, C++ code examples.
- Mastering Merge Sort: Algorithm & Code ExplainedDiscover how the Merge Sort algorithm works with a detailed explanation and code implementation. Learn to sort efficiently with this guide.
- Breadth First Search Algorithm TutorialBreadth First Search (BFS) is a key algorithm in the realms of graph theory and computer science. It's particularly handy when you want to explore…
- Binary Search Time Complexity with Code ExamplesUnderstand the time complexity of binary search with step-by-step code samples. Learn how it works and why it’s faster than linear search.
- Depth First Search Algorithm Code and Use Cases ExplainedThe Depth-First Search (DFS) is a recursive algorithm, which traverses as far as it can in any branch, then backtracks, which makes it a basic and…
- Dijkstra Algorithm Example ExplainedThe algorithm that is the backbone of history in graph algorithm is the Dijkstra algorithm, used to compute the shortest paths between nodes in a…
- Factorial Using Recursion in C with Code, Stack Insights & Best PracticesLearn how to compute factorial using recursion in C with code examples, stack explanation, and optimization techniques.
- Warshall Algorithm Explained with CodeWarshall algorithm can be effectively used to decide whether the graph formerly known as directed graph has a path connecting two vertices or not.…
- BFS and DFS Algorithm with Example ExplainedIf you've ever wondered how Google Maps calculates the shortest path between two locations or how social networks suggest new friends, then you're…
- Linear Search in Data StructureLearn everything about Linear Search in Data Structures, from its working, algorithm, and time complexity to practical C code examples.
- Quick Sort Explained: Working Principle & ComplexityMaster Quick Sort: Learn its partitioning method, steps, and time complexities best, average, and worst-case—in data structures.
- Definition and Common examples of Time ComplexityEfficiency is life in computer science. Whether something works or not is a question with which we as developers, engineers or programming…
- Linked List Operations in DSA – Insert, Delete, TraverseIf you’re just beginning your journey into the world of Data Structures and Algorithms (commonly known as DSA), there’s a good chance you’ve heard…
- Master Data Structures & Algorithms: Python DSA TutorialExplore Data Structures and Algorithms concepts, real-world use, and Python implementation. Start your coding journey with Uncodemy’s expert guidance.
- Quick Sort Algorithm Explained with Code | Learn Sorting in CMaster the Quick Sort algorithm with a detailed explanation, step-by-step guide, and C code example.
- BFS and DFS Example in Data StructuresWhen you're diving into Data Structures and Algorithms, graphs are one of the most exciting yet confusing concepts you'll face. But here's a trick…
- BFS vs DFS in Data StructuresIf you’ve ever tried to navigate through a maze or looked for the shortest route in Google Maps, then knowingly or not you’ve experienced graph…
- Quick Sort in C: Step-by-Step Code with ExplanationUnderstand the Quick Sort algorithm in C through step-by-step implementation. Includes code, dry run, and explanation of partition logic.
- Binary Search Tree in C | Code, Inorder TraversalLearn how to implement a Binary Search Tree in C. Includes detailed code, insertion, deletion, and traversal methods with easy explanations.
- How to Practice DSA Efficiently and DailyLearning Data Structures and Algorithms, or DSA, is like learning how to think like a computer. It sharpens your problem solving ability and…
- What Is a Singly Circular Linked List ExplanationSingly circular linked list Simply a singly linked list whose last element links to the first element constituting a circular structure. In this…
- What Is Tail Recursion? Definition, Advantages & Use Cases ExplainedIf you're diving into programming, especially functional or recursive approaches, you might have stumbled upon the term "tail recursion." It's a…
Browse by topic
All topics- C and C++ programming190 articles · C and C++ programs, pointers, arrays, storage classes and language concepts with code.
- Python programming113 articles · Python programs, syntax, libraries and beginner projects with examples.
- Java programming22 articles · Core Java, OOP, collections, Spring and Java programs explained step by step.
- Data structures and algorithms129 articles · Arrays, linked lists, trees, graphs, sorting, searching and problem solving.
- Web and app development149 articles · HTML, CSS, JavaScript, React, Node, PHP, full stack and mobile app guides.
- Data science and machine learning127 articles · Statistics, Pandas, NumPy, machine learning, deep learning and big data.
- Artificial intelligence and generative AI371 articles · AI concepts, LLMs, prompt engineering, NLP, AI agents and AI tools.
- Data analytics, Excel and Power BI67 articles · Excel, Power BI, Tableau, dashboards and business analytics guides.
- SQL and databases59 articles · SQL queries, MySQL, PostgreSQL, MongoDB and database design with examples.
- Software testing and automation48 articles · Manual testing, Selenium, Playwright, API testing and QA practices.
- Cloud computing and DevOps38 articles · AWS, Azure, Docker, Kubernetes, Git, Jenkins, CI/CD and Linux.
- Cyber security and networking37 articles · Ethical hacking, network security, threats and networking basics.
- Digital marketing and SEO28 articles · SEO, social media, ads, content and email marketing guides.
- UI/UX and graphic design18 articles · UI/UX design, Figma, graphic design tools and portfolios.
- Business, management and finance18 articles · Management, HR, CRM, SAP, project management, accounting and finance.
- Careers, courses and job switches516 articles · Career roadmaps, salaries, course fees, city guides and career switch plans.
- Interview preparation and resumes100 articles · Interview questions, resume tips and how to get job ready.
- Programming basics and technology154 articles · Programming concepts, computer basics, new technology and tech trends.
Learn it with a trainer, not just a blog
Join a free 2-hour live demo class at Uncodemy, classroom or online from Noida. No payment, no commitment.