Berkeley CS61B Spring 2019 打卡(3)

这篇博客记录了Berkeley CS61B课程的学习进度,涵盖了范围搜索、多维数据、树与图遍历、最短路径、最小生成树、问题归约和分解、基本排序算法如快速排序,以及软件工程的相关内容。重点讨论了用于多维数据的K-d树和四叉树,以及在数据结构和算法中的应用。

刷题记录在Dropbox Paper上

2019 July 2 || Range Searching and Multi-Dimensional Data

  • Multidimensional data has interesting operations:

    • Range Finding: What are all the objects inside this (rectangular) subspace?
    • Nearest: What is the closest object to a specific point?
      • Can be generalized to k-nearest.
  • The most common approach is spatial partitioning:

    • Uniform Partitioning: Analogous to hashing.
    • Quadtree: Generalized 2D BST where each node “owns” 4 subspaces.
    • K-d Tree: Generalized k-d BST where each node “owns” 2 subspaces.
      • Dimension of ownership cycles with each level of depth in tree.

(Spatial partitioning allows for pruning of the search space.)

2019 July 3 || Tree and Graph Traversals

在这里插入图片描述

2019 July 3 || Graph Traversals and Implementations

在这里插入图片描述
在这里插入图片描述

2019 July 4 || Shortest Paths

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

2019 July 5 || Minimum Spanning Trees

在这里插入图片描述

2019 July 6 || Reductions and Decomposition

  • Applications
  • BUILD‐MAX‐HEAP is O(n).

2019 July 7 || Basic Sorts

在这里插入图片描述
在这里插入图片描述

2019 July 7 || Quick Sort

2019 July 8 || Software Engineering I

2019 July 8 || More Quick Sort, Sorting Summary

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值