coderz.py

Keep Coding Keep Cheering!

Big-O Complexity for Python Data Structures

Big-O Complexity for Python Data Structures

September 20, 2020 | Algorithm, Data Structure, python | No comments

Linked List Reversal in Python

Write a function to reverse a Linked List in place. The function will take in the head of the list as input and return the new head of the list.

September 15, 2020 | Data Structure, python | No comments

Linked List Nth to Last Node in Python

Write a function that takes a head node and an integer value n and then returns the nth to last node in the linked list. For example, given:

September 13, 2020 | Data Structure, python | No comments

Singly Linked List Cycle Check in Python

Given a singly linked list, write a function which takes in the first node in a singly linked list and returns a boolean indicating if the linked list contains a “cycle”.

September 10, 2020 | Algorithm, Data Structure, python | No comments

Implementation of Doubly Linked List in Python

In Doubly Linked List, We declare two pointers to store location of next Node and previous Node.

September 10, 2020 | Data Structure, python | No comments

Implementation of Singly Linked List in Python

In a singly linked list, we have an ordered list of items as individual Nodes that have pointers to other Nodes.

September 1, 2020 | Data Structure, python | 1 comment

Implementation of Deques in Python

A deque, also known as a double-ended queue, is an ordered collection of items similar to the queue. It has two ends, a front, and rear, and the items remain positioned in the collection.

August 11, 2020 | Data Structure, python | No comments

Implementation of Queue in Python

A queue is an ordered collection of items where the addition of new items happens at one end, called the “rear,” and the removal of existing items occurs at the other end, commonly called the “front.”

August 10, 2020 | Data Structure, python | No comments

Implementation of Stack in Python

A stack is an ordered collection of items where the addition of new items and the removal of existing items always takes place at the same end.

August 6, 2020 | Data Structure, python | No comments

10 Python Mini Projects for Beginners To Do

Python Mini Projects you should do to test your skills and knowledge and to learn to implement Python programming in solving real-life problems. So I have curated some Python Mini Projects for you.

July 31, 2020 | general, python | No comments

Advertisement