Category: Data Structure
Posts of Category: Data Structure
  1. Graphs in Python: Minimum Spanning Trees - Kruskal's Algorithm

    Introduction Kruskal's algorithm is one of the three most famous algorithms for finding a minimum spanning tree (MST) in a graph. MSTs are widely used to calculate optimal paths in a lot of different fields. Fr...Learn More
    PythonData StructureAlgorithm
  2. Graphs in Python: Depth-First Search (DFS) Algorithm

    Introduction Originating from mathematics, graphs are now widely used data structures in Computer Science. One of the first problems we encounter when constructing any algorithm regarding Graph processing or tr...Learn More
    PythonData StructureAlgorithmsearch
  3. Stacks and Queues in Python

    Introduction Data structures organize storage in computers so that we can efficiently access and change data. Stacks and Queues are some of the earliest data structures defined in computer science. Simple to le...Learn More
    PythonData StructureStack
  4. Graph Data Structure Interview Questions

    Introduction Graph-related interview questions are very common, and many algorithms you'll be expected to know fall into this category. It's important to be acquainted with all of these algorithms - the motivat...Learn More
    Interview QuestionsStructureData Structure
  5. Python Linked Lists

    Python Linked Lists A linked list is one of the most common data structures used in computer science. It is also one of the simplest ones too, and is as well as fundamental to higher level structures like stack...Learn More
    PythonData StructureLinkedListlist
  6. Python: How to Add Key to a Dictionary

    Python: How to Add Key to a Dictionary Introduction A dictionary in Python is a collection of items that store data as key-value pairs. We can access and manipulate dictionary items based on their key. Dictiona...Learn More
    PythonData StructureDictionary
  7. Python: How to Remove a Key from a Dictionary

    Python: How to Remove a Key from a Dictionary Introduction In this article, we'll take a look at how to remove keys from Python dictionaries. This can be done with the pop() function, the del keyword, and with ...Learn More
    PythonData StructureDictionary
  8. Python: Check if Variable is a Dictionary

    Python: Check if Variable is a Dictionary Introduction Variables act as a container to store data. A developer can use type hints when creating variables or passing arguments, however, that's an optional featur...Learn More
    PythonData StructureDictionary
  9. Linked List Programming Interview Questions

    Linked List Programming Interview Questions If you're interested in reading more about Programming Interview Questions in general, we've compiled a lengthy list of these questions, including their explanations,...Learn More
    Interview QuestionsProgrammingData StructureLinkedListlist
  10. How to Merge Two Dictionaries in Python

    How to Merge Two Dictionaries in Python Introduction It's not uncommon to have two dictionaries in Python which you'd like to combine. In this article, we will take a look at various ways on how to merge two di...Learn More
    PythonData Structure
  11. Search Algorithms in Java

    Search Algorithms in Java Introduction Searching is one of the most common actions performed in regular business applications. This involves fetching some data stored in data structures like Arrays, List, Map, ...Learn More
    Data StructureAlgorithmJava
  12. Modified Preorder Tree Traversal in Django

    Modified Preorder Tree Traversal in Django Introduction This article is an extension to a previous article titled, Recursive Model Relationships in Django, which demonstrated a way to utilize the bare-bones Dja...Learn More
    PythonData StructureDjango