finds.dev← search

// the find

PKUFlyingPig/CS61A

★ 1,007 · JavaScript · updated Jan 2024

One student's completed homework, lab, and exam solutions for UC Berkeley's CS61A Summer 2020 — a well-regarded intro CS course covering functional programming, data abstraction, Scheme, and SQL. This is a personal workspace dump, not a learning resource in its own right. Self-learners auditing CS61A who get stuck are the only realistic audience.

- CS61A's material is genuinely good — higher-order functions, tail recursion, tree recursion, Scheme interpreters — and having worked solutions lets you check your thinking rather than stall indefinitely.

- The ok grader binaries are included alongside the solutions, so you can actually run the same test suite the original students used to verify your own answers before looking at the solutions.

- PKUFlyingPig's other repos (particularly the self-learning CS guide) have a track record of correctness, so the solutions here are more likely to be right than a random student's dump.

- Frozen at Summer 2020. CS61A assignments rotate and change every semester; if you're following a different offering, problem numbers and starter code will diverge from what's here.

- Raw workspace committed verbatim — __pycache__ directories, .ok_storage.db files, .DS_Store — no cleanup whatsoever. This is exactly what you'd see if someone just pushed their local folder.

- Zero explanatory comments or writeups. You get code that passes the autograder, not an explanation of why a particular recursion strategy works. If you're stuck and just copy the answer, you've skipped the only useful part of the course.

- The GitHub language tag says JavaScript, which is wrong (it's Python/Scheme/SQL). Minor, but it signals the repo metadata was never touched after creation.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →