Posts by Vamsi Krishna
Author Biographical Info: Not available
In this tutorial, we shall find k numbers with most occurrences in the given Python array. The inputs shall be the length of the array, its elements, and a positive integer k. We s.... Read More
In this tutorial, we shall be printing all the prime numbers in a Linked List. Given a singly linked list, the aim is to print the nodes containing a prime number. A prime number i.... Read More
In this tutorial, we shall implement a stack using list in Python. A stack is a Linear Data Structure that uses a LIFO (Last In First Out) methodology. Unlike other programming lan.... Read More
In this tutorial, we shall convert a singly linked list into circular linked list in Python. A Linked List is a linear data structure where the elements are linked using pointers. .... Read More
In this tutorial, we shall apply Insertion Sort on a singly linked list in Python. For starters, a Singly Linked List is a data structure in which the elements are “linked.... Read More
In this tutorial, we shall write a Python program to find the area of an Enneagon. An Enneagon (also called as nonagon) is a 9-sided polygon. If all the sides of a polygon are equa.... Read More
Block swap algorithm for array rotation is used to swap two non-overlapping regions of an array of equal size. It is one of the efficient algorithms for array rotation. Input: arr .... Read More
In this tutorial, we shall implement a stack using a single queue in Python. As I said in my previous post, Python does not have a specified stack data structure. A queue is a Line.... Read More