Featured in Data Structures And Algorithms

Knapsack Problem

Knapsack Problem The Knapsack Problem involves selecting a combination of items to maximize the value while staying within the capacity constraint… Read More


1 year, 2 months ago ; 285 views

Water Area

Problem Case The problem is to find the total area of trapped rainwater between a series of walls represented by the given heights. Solution: A… Read More


1 year, 2 months ago ; 256 views

Find the Three Largest Numbers in an Array

How  to Find the Three Largest Numbers in an Array The aim of this question is to return a list of three numbers that are the largest in the … Read More


1 year, 2 months ago ; 330 views

Continuous Median

Continuous Median Given a stream of numbers, we want to calculate a continuous median. class ContinuousMedianHandler: """ A class t… Read More


1 year, 2 months ago ; 277 views

Shifted Binary Search

Shifted Binary Search This code performs a binary search on a shifted sorted array to find the index of the target element. The shifted_binary_sea… Read More


1 year, 2 months ago ; 289 views

Find Loop in a Linked List

Find Loop in a Linked List This case solves the problem of finding the starting node of a loop in a linked list. A node in a linked list with a… Read More


1 year, 2 months ago ; 340 views

The Boggle Board problem

The Boggle Board problem The Boggle Board problem can be expressed as follows: Given a Boggle board consisting of n×m cells filled with c… Read More


1 year, 2 months ago ; 416 views

Search For Range

Search For Range Here's the problem illustration. Given a sorted array, and a target number e.g. 45, find the range of indices in the input… Read More


1 year, 2 months ago ; 354 views

HeapSort Algorithm

HeapSort Algorithm   A conceptual overview of the HeapSort algorithm The provided algorithm implements heap sort, a comparison-based so… Read More


1 year, 2 months ago ; 250 views

Quicksort Algorithm

Quicksort Algorithm   The provided code implements the quicksort algorithm, a highly efficient sorting algorithm known for its average-cas… Read More


1 year, 2 months ago ; 232 views
Latest

Knapsack Problem

Knapsack Problem The Knapsack Problem involves selecting a combination of items to maximize the value while staying within the capacity constraint… Read More

ago ; 285 views

Water Area

Problem Case The problem is to find the total area of trapped rainwater between a series of walls represented by the given heights. Solution: A… Read More

ago ; 256 views

Find the Three Largest Numbers in an Array

How  to Find the Three Largest Numbers in an Array The aim of this question is to return a list of three numbers that are the largest in the … Read More

ago ; 330 views

Continuous Median

Continuous Median Given a stream of numbers, we want to calculate a continuous median. class ContinuousMedianHandler: """ A class t… Read More

ago ; 277 views

Shifted Binary Search

Shifted Binary Search This code performs a binary search on a shifted sorted array to find the index of the target element. The shifted_binary_sea… Read More

ago ; 289 views

Find Loop in a Linked List

Find Loop in a Linked List This case solves the problem of finding the starting node of a loop in a linked list. A node in a linked list with a… Read More

ago ; 340 views

The Boggle Board problem

The Boggle Board problem The Boggle Board problem can be expressed as follows: Given a Boggle board consisting of n×m cells filled with c… Read More

ago ; 416 views

Search For Range

Search For Range Here's the problem illustration. Given a sorted array, and a target number e.g. 45, find the range of indices in the input… Read More

ago ; 354 views

HeapSort Algorithm

HeapSort Algorithm   A conceptual overview of the HeapSort algorithm The provided algorithm implements heap sort, a comparison-based so… Read More

ago ; 250 views

Quicksort Algorithm

Quicksort Algorithm   The provided code implements the quicksort algorithm, a highly efficient sorting algorithm known for its average-cas… Read More

ago ; 232 views

Become a member
Get the latest news right in your inbox. It's free and you can unsubscribe at any time. We hate spam as much as we do, so we never spam!