# Category: data structures and algorithms

### Maximum Subarray Sum: Kadane’s Algorithm

Hello there, if you are looking for Kadane’s Algorithm you must have come across the question: Largest sum contiguous subarray or Maximum Subarray Sum, by…

### HackerRank Day 12 Solution in Python: Inheritance

Today we will see the HackerRank Day 12 Solution in Python. The problem is named Inheritance which is part of 30 Days of code on…

### HackerRank Day 11 Solution in Python: 2D Arrays

Today we will see the HackerRank Day 11 Solution in Python. The problem is named 2D Arrays which is part of 30 Days of code…

### HackerRank Day 10 Solution in Python: Binary Numbers

Today we will see the HackerRank Day 10 Solution in Python. The problem is named Binary Numbers which is part of 30 Days of code…

### Maximum Product Subarray in O(N) Time – Leetcode Solution

Hi everyone! In this post, we are going to discuss a very famous DSA problem known as the Maximum Product Subarray. It is a leetcode…

### NxNxN Matrix in Python 3

A 3d matrix(NxNxN) can be created in Python using lists or NumPy. Numpy provides us with an easier and more efficient way of creating and…

### Boruvka’s Algorithm in Python

Introduction In this blog post, we will learn how to code Boruvka’s Algorithm in Python. Algorithms are at the heart of computer science. They are…

### Roti Prata SPOJ Problem Solution – Complete Solution Approach with C++ and Java Code

This post contains Roti Prata SPOJ problem explanation, solution approach, C++ and Java solution of Roti Prata SPOJ Problem

### Lee Algorithm in Python | Solution to Maze Routing Problem in Python

Introduction Definition: The Lee algorithm is one feasible solution for maze routing problems based on a breadth-first search. It always gives an optimal solution, if…

### Vending Machine with Python Code

This blog will discuss how we can build a Vending Machine with Python Code (console app). The Vending Machine with Python code is a small…

### Top 20 Array Coding Questions for Online Assessment

Hey everyone! Today we’re going to discuss the top 20 array coding questions which are most frequently asked in online assessments (and interviews) by top…

### Heap Sort Algorithm in Python

In Part-1 of the heap sort algorithm, we have discussed how we can represent a tree in array format, what is a heap, types of…

### Heap Sort Algorithm|Heap Data Structure

A sorting algorithm is used to rearrange an array or a list of elements. In previous sections we have covered Bubble sort, Selection sort, Insertion…

### Insertion Sort Algorithm in Data Structures using Python

Sorting and Searching algorithms like insertion sort, selection sort, merge sort are very important to learn as a part of the preparation of your placements…

### Quick Sort algorithm in data structures and algorithms using Python

Quick Sort Algorithm is used to sort a given list or array into ascending or descending order depending on user preference. This sorting algorithm is…

### Selection Sort Algorithm In Data Structures and Algorithms using Python

Selection Sort Algorithm is one of the easiest sorting algorithms in Data Structures. It is a comparison-based sorting algorithm. It is used to arrange the…

### Searching Algorithms: Linear Search Algorithm

Introduction to Searching Algorithms: Linear Search Algorithm in python and c++ with code, time complexity, features etc.

### Bubble Sort Algorithm In Data Structures & Algorithms using Python

Bubble Sort is one of the simplest and easiest sorting algorithms in Data Structures. It is a comparison and swapping based sorting algorithm which is…

### Merge Sort Algorithm in Python

Sorting and Searching algorithms like insertion sort, selection sort, merge sort is essential to learn as a programmer because these form the base of any…

### Binary Search in python

In the previous post, the binary search in python was discussed but not in enough detail. Therefore, in this post, the binary search in python…