Linked Lists in Detail with Python Examples: Single Linked Lists
Linked lists are one of the most commonly used data structures in any programming language. In this article, we will study linked lists in detail. We will see what are the different types of linked lists, how to traverse a linked list, how to insert and remove elements from a...
Stacks and Queues in Python
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 learn and easy to implement, their uses are common and you'll most likely find yourself incorporating them in your...
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, implementations, visual representations and applications. Linked Lists are a data structure that represents a linear collection of nodes. A characteristic specific to linked lists is that the...
Graph Data Structure Interview Questions
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 motivation behind them, their implementations and applications. If you're interested in reading more about Programming Interview Questions in general, we've...
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 stacks, circular buffers, and queues. Generally speaking, a list is a collection of single data...
Modified Preorder Tree Traversal in Django
This article is an extension to a previous article titled, Recursive Model Relationships in Django, which demonstrated a way to utilize the bare-bones Django capabilities to define database-backed Classes that model a common use-case for a recursive relationship. The use case I intend to satisfy is the common relationship between...