Switch Case in Python 3.10 (Structural Pattern Matching)
Before Python 3.10, we had no built-in statement for switch cases in Python. However, version 3.10 …
Maximum size square sub-matrices with all 1's
Problem Statement Consider a matrix with all 0s and 1s. Your task is to find the largest square …
Longest Increasing Subsequence using Dynamic Programming
You are given a sequence. You have to find the length of the longest subsequence of the given seque…
Merge Sort for Linked Lists
There are a plethora of sorting algorithms present for arrays like the bubble sort, insertion sort,…
Convert a Binary Tree to Doubly Linked List
You are given a Binary Tree. Your task is to convert it into a doubly-linked list. The left and rig…
Count all Possible Paths from Top Left to Bottom Right in a Matrix
You are given a matrix of m*n dimensions. You have to calculate the total number of possible paths …
What is Python Pickle Module?
We all love pickles, the way a pickle is made by preserving the main ingredient for a period of tim…
What is CubicWeb in Python?
CubicWeb is Python's semantic web application framework that allows its developer to write qual…
What is Sanic in Python?
Right now, Flask and Django are the two leading frameworks of Python, and these two frameworks are …
Clone a Singly Linked List
You are given a singly linked list, having n nodes in it with each node having a pointer that is po…
What is Web2Py in Python?
A web application is a software or program that contains various functions and instructions that ex…
What is Tornado in Python?
Most of the Python web frameworks like Flask, Django, and Pyramid follow synchronous programming, w…