💿
CS61B Fall 2022
  • CS61B Fall 2022
  • Prerequisites to running the assignments.
  • Lab 01: Setting up your computer
  • Lab 02: JUnit Tests and Debugging
  • Project 0: 2048
  • Lab 03: Timing Tests and Randomized Comparison Tests
  • Lab 04: A Debugging Mystery
  • Project 1: Deques
  • HW 2: Percolation
  • Lab 07: BSTMap
  • Project 2a: NGordNet (NGrams)
  • Lab 08: HashMap
  • Project 2b: NGordNet (WordNet)
  • Lab 11: BYOW Introduction
  • Project 3 BYOW
    • Phase 1: World Generation
Powered by GitBook
Page cover
On this page

CS61B Fall 2022

This is a place, where I share my solutions of labs and projects that are included in CS61B, Fall 2022 course by UC Berkeley. I might add (digitize) my notes at a later time.

NextPrerequisites to running the assignments.

Last updated 2 years ago

CtrlK
  • CS 61B: Data Structures
  • About
  • Quick Intro to Assignments (aka, some highlights):

CS 61B: Data Structures

Official course site: https://fa22.datastructur.es/index.html

My GitHub repo including all the solutions: https://github.com/tomthestrom/cs61b

About

I decided to take this course in order to learn about some basic data structures and algorithms.

The first third of the course deals with introducing Java while going through List Abstract Data Type - SLL, DLL, AL and implementing unit tests (timing and randomized). While not being a Java class, Java is explained to the extent that's needed to be able to successfully complete the assignments.

The class as a whole is not that programming heavy in my opinion (except for Project 3), but you get to implement and practice what's being explained during the lectures.

Quick Intro to Assignments (aka, some highlights):

  • Implementing various types of Lists - notably a Deque in Project 1 - the basic ADT for a GuitarHero Simulator:

    • The Deque was implemented in 2 ways.

      • using a Doubly Linked List with a sentinel node

      • using a - the first mindblowing experience :)

  • Disjoined Sets - implementing a .

  • Trees - concept used in multiple places -

  • HashMaps - one of the most used datastructures - .

  • Graphs - as an underlying data structure forin .

  • A Game Generator in - implemented however you'd like.

    • .

    • Phase 2: Add Interactivity - not implemented yet.

circular array
Percolation Simulator in Homework 2
Implemented a BSTMap in Lab 07.
implemented in Lab 08
implementing a Graph
WordNet
Project 2b
Project 3
Phase 1: Implement a Pseudorandom dungeon generator