GitHunt
CM

Cmint9/UCSD--DataStructure--LeCode

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

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~