Posts by Karshin Uppal

Author Biographical Info: Not available

Check if a linked list is a palindrome in Python

By Karshin Uppal

Here in this tutorial, we will learn how to check if a linked list is a palindrome or not in Python. We can check if the given linked list is palindrome or not by returning 1 if it.... Read More

Find the node with the largest data in Binary Tree in Python

By Karshin Uppal

Here in this tutorial, we will learn how to find the node with the largest data in Binary Tree in Python with the help of recursion. As we know Binary Trees are data structures wit.... Read More

Remove duplicates from sorted Linked List in Python

By Karshin Uppal

Here in this tutorial, we will learn how to remove duplicates from a linked list in Python. From a linked list like this: 1 2 2 3 4 4 5 To a linked list like: 1 2 3 4 5 In a linked.... Read More

Hash Map in Python

By Karshin Uppal

Here in this tutorial, we will learn about Hash Maps in Python. A Hash map is a data structure where data is stored in key and value format where all the keys are unique and for a .... Read More

How to generate a random letter in Python

By Karshin Uppal

Here in this tutorial, we learn how to generate a random letter in Python. The random module is used to shuffle values, generate some random data, etc and here we will see how it c.... Read More

random.sample() vs random.choice() in Python

By Karshin Uppal

Here in this tutorial, we will learn about the difference between random.sample() and random.choice() functions. The random module is used to shuffle values, generate some random d.... Read More

How to change folder name in Python

By Karshin Uppal

Here in this tutorial, we will learn how to change the folder name in Python. Changing folder name in Python Changing a folder name is quite simple in Python with the help of in-bu.... Read More

Mouse wheel event in Pygame

By Karshin Uppal

Here in this tutorial, we will see how to detect mouse wheel movement in Pygame Python. Detecting mouse wheel event import pygame pygame.init() screen = pygame.display.set_mode((50.... Read More

Related Posts