Free Algorithms study guide

This free Algorithms study guide has 4 topics, 48 flashcards and 7 practice questions, starting with Fundamental Design and Analysis Techniques, Searching, Binary Search Trees and Heaps and Sorting Algorithms. It suits college students in upper-level courses and is built from the open textbook “Algorithm Design and Analysis (Justo)” by Justo (CC BY-SA 3.0). It is free to use, and the study aids are generated automatically, so check important facts against your own textbook.

Study this course free

What you will study

4 topics, in the order of the textbook. Your own course may order them differently, so follow your syllabus.

Chapter 1: Fundamental Design and Analysis Techniques

You will learn to:

  • Describe concepts of algorithm design and analysis
  • Demonstrate knowledge of algorithm complexity analysis
  • Apply iteration and recursion in problem solving
  • Apply dynamic programming in problem solving

Chapter 2: Searching, Binary Search Trees and Heaps

You will learn to:

  • Demonstrate knowledge of searching algorithms
  • Implement a searching algorithm based on efficiency requirements
  • Demonstrate knowledge of advanced data structures including binary search trees and binary heap
  • Implement a data structure based on efficiency requirements

Chapter 3: Sorting Algorithms

You will learn to:

  • Demonstrate understanding of various sorting algorithm
  • Select best sorting method based on performance requirement
  • Apply sorting algorithms in problem solving

Chapter 4: Hash Tables, Graphs and Graph Algorithms

You will learn to:

  • Demonstrate understanding of hash tables and graph data structures
  • Apply the data structures in problem solving
  • Demonstrate understanding of graph algorithms

Try some

Real flashcards and practice questions from this study guide, with their answers.

Flashcard 1

In your own words: what does “Binary Search” mean?

Answer: A condition for binary search is that the array should be a sorted array.

Flashcard 2

In your own words: what does “Worst case” mean?

Answer: The worst case occurs when the input array is sorted in descending order, in which we have that

Flashcard 3

In your own words: what does “Double hashing” mean?

Answer: Double hashing - Double hashing is same as linear probing, the only difference being the interval between successive probes.

Practice question 1

Fill in the blank: A _____ (BST) is a fundamental data structure that can support dynamic set operations including: Search, Minimum, Maximum, Predecessor, Successor, Insert, and Delete.

  • A. Binary search tree
  • B. Answers
  • C. Max_heapify
  • D. General Programming Exercises

Answer: A. Binary search tree

A binary search tree (BST) is a fundamental data structure that can support dynamic set operations including: Search, Minimum, Maximum, Predecessor, Successor, Insert, and Delete.

Practice question 2

Fill in the blank: The _____ occurs when the input array is sorted in descending order, in which we have that

  • A. Cons
  • B. Worst case
  • C. SELECTION_SORT (A)
  • D. Pros

Answer: B. Worst case

The worst case occurs when the input array is sorted in descending order, in which we have that

Study this course free

Prerequisites and next steps

More in Computer science

About this study pack

Attribution: Adapted from “Algorithm Design and Analysis (Justo)” by Justo (https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_and_Computation_Fundamentals/Algorithm_Design_and_Analysis_(Justo)), CC BY-SA 3.0. Study aids (flashcards, quiz questions, summaries) were generated automatically from the text; they may contain errors.

Frequently asked questions

Is the Algorithms study guide free?

Yes. StudyGrasp is always free: no paywall and no credit card. Students create a free account so that their progress is saved.

What textbook is the Algorithms study guide based on?

It is built from “Algorithm Design and Analysis (Justo)” by Justo, an open textbook licensed under CC BY-SA 3.0. StudyGrasp adapted it and is not affiliated with its authors or publisher.

How many practice questions does it have?

It has 7 practice questions and 48 flashcards across 4 topics. They are generated automatically from the textbook and marked Draft, so they can contain mistakes.

Can I use it offline or install it?

You can add StudyGrasp to your phone or computer. The app opens offline, and flashcards you have opened keep working without a connection. Offline copies are cleared when you sign out.

Study Algorithms free

Ask questions that cite the textbook, practise with flashcards and quizzes, and keep your own notes private. Study this course free

StudyGrasp is not affiliated with the textbook publishers named here. Browse all courses · FAQ