Skip to main content

331 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

CSV File Parsing

Learn how to read and write CSV files in Python using the built-in csv module.

File Reading and Writing

Learn how to read from and write to text files in Python using the open function and file modes.

Lists in Python

Learn how to create lists and access items using positive and negative indexing.

SciPy vs NumPy

Learn how SciPy builds on NumPy by exploring a practical example using both libraries.

String Operations

Learn how to work with text using Python string functions and formatting.

Tuples and Sets

Understand the differences between tuples and sets and when to use them in Python.

Variables and Data Types

Understand how Python stores values using variables and explore the basic data types used in analysis.

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.