Photo by Markus Spiske on Unsplash
  1. Create two counters idx1 and idx2 starting at 0. …

Photo by Soraya Irving on Unsplash



Implementation of Linked List

class LinkedList():
def __init__(self):
self.head = None

def…


An illustration of inverted tree trunk for better understanding.

Why is it called a tree?

  • The word “binary” indicates that each “node” in the tree can have at most 2 children (left or right).
  • Nodes can have 0, 1 or 2 children. …

Aditi Deodhar

Follow me on my #100DaysOfCode journey on Twitter → https://twitter.com/AditiDeodhar09

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store