Skip to content

Repository files navigation

UCSD Data Structure and Algorithm

In UCSD's Algorithms class, we can practice algorithms and data structures from different modules each week. Zybook provides us with a fairly rich collection of practice problems that can help us reinforce our review after learning a concept.

Final grade for this course: A

🧠 Topics Covered

  • Sorting Algorithms (QuickSort, MergeSort, etc.)
  • Recursion and Divide & Conquer
  • Searching Techniques (Binary Search, Linear Search)
  • Dynamic Programming (Knapsack)
  • Graph Algorithms (BFS, DFS, Dijkstra)
  • Complexity Analysis

📁 Folder Structure

Each folder corresponds to a core module in the course:

  • sorting algorithm (Module3)/ – Implementations and complexity comparisons
  • recursion/ – Classical recursion examples and use cases
  • Module5 Stacks and Queues/ – Step-by-step DP problems with recursion tree analysis
  • Module 6 Hash Tables/ – Graph traversals and shortest paths with real-world applications

📌 Why This Repo Matters

  • 📚 Serves as my personal review notebook for future research and interviews
  • 💡 Built from textbook and lecture knowledge, but written in my own words
  • 🔍 Will be expanded with more advanced examples and complexity breakdowns

🚧 Future Plans

  • Add time/space complexity visualizations using Matplotlib
  • Integrate interactive demos using Streamlit
  • Link LeetCode-style problems solved using the same concepts

📬 Contact

Feel free to connect:
📧 xichenzh@buffalo.edu
🔗 LinkedIn

Module 1: Introduction to Data Structures and Algorithms

Module 2: Searching and Algorithm Analysis

Module3: Sorting Algorithms

Module 4: Lists

Module 5: Stacks and Queues

Module6: Hash Tables

Module7: Trees

Module8: Algorithms

Midterm Notes

Final Main Notes

Leetcode Solution

Hello👋🏻 Welcome to my LeetCode place, where I will share all the LeetCode problems I have solved.

The whole file and exercise problem keeps going~

About

This is for my first UCSD CS lecture notes and Leetcode solution Collection.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors