Skip to main content

276 docs tagged with "Python"

View all tags

Coding Quiz - ATM Problem

Write a function that calculates the minimum total time required for people to withdraw money from an ATM using a greedy algorithm.

Coding Quiz - Make One

Calculate the minimum number of operations to reduce a given integer n to 1 using dynamic programming

What are Identifiers?

The concept of identifiers that denote variables, functions, classes, etc. and the Python rules for identifiers

What is Binary Search?

Binary search is an efficient method for finding a specific value in a sorted array by repeatedly dividing the search interval in half.

What is Bubble Sort?

Bubble sort is a simple yet intuitive algorithm for sorting an array by comparing and swapping adjacent elements.

What is Depth First Search (DFS)?

DFS is an algorithm for traversing or searching tree or graph data structures, starting at the root node and exploring as far along each branch as possible.

What is Insertion Sort?

Insertion sort sorts an array by progressively inserting each element into its appropriate position.

What is Merge Sort?

Merge Sort is a method that efficiently sorts an array using the divide and conquer algorithm.

What is Quick Sort?

Quick Sort is a fast sorting algorithm that uses a pivot to partition and sort an array.

What is Selection Sort?

Selection Sort is a simple and easy-to-understand sorting method that arranges elements by repeatedly finding the minimum value for each position in the array.

What is Sequential Search?

Sequential search is a basic search algorithm that examines each element in an array or list sequentially to find the desired value.