查看: 6324| 回复: 21
跳转到指定楼层
上一主题 下一主题
收起左侧

[入门|算法|数据结构] CS 61B 在职学习Data Structure 打卡

全局:
公开课
学校名称: UC Berkeley
Unit号: 3
开课时间: 2018-01-01
课程全名: CS 61B Data Structures
平台: 其他
URL: https://sp18.datastructur.es/index.html

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 xxcindy 于 2021-3-19 19:23 编辑

打卡记录学习CS 61B。早年间学过java基本都忘光了,重新捡起来。有用过其他语言也学过DS, Algo, 希望不会学的太吃力。完全还没有开始所以也不知道要用多久,也不知道deliverable要做多少。(总之就是一问三不知 🤦)顺便问问有没有类似背景的小伙伴一起组队?


上一篇:【System Design】SystemExpert的听课感受
下一篇:fullstack 学习好去处
推荐
 楼主| xxcindy 2021-3-22 11:46:03 | 只看该作者
全局:
Week 2 Mon (day 1):
看完了lecture,总结下:
- Java has 9 data types, 8 of them are primitive types and the last one is reference type
- int a = 1
declare type int, name it a -> create 32 bit -> set the value of that location to 1

- Dog a = new Dog()
declare type reference type, intended to store only Dog objects, initially with value null -> find enough space to store the object, use constructor to construct the instance, returns the memory location -> assign the memory location to a

- int[] a = new int[]{1,2,3}
declare type reference type, intended to store only int arrays, initially with value null -> find enough space to store the array (length of 3), use constructor to create the instance, returns the memory location -> assign the memory location to a

- Copy values:
When we copy values, we copy whatever the value is in the bits. If it's a primitive type, these bits represent values. If it's a reference type, these bits represent address of the referenced object.

- Passing params:
In java, all params are passed by copying the arguments to variables local to the function. (Pass by value). Again, this value might represent an actual value (int, string), or an address of an object

- 最后提到了IntList,就是LinkedList, 不过只适用于int



回复

使用道具 举报

推荐
Mikauney 2021-3-21 12:45:53 | 只看该作者
全局:
哈哈,看到cs61b果断点进来。
我是国内cs本科,大三在ucb交换了一年。正好因为要换国内专业课学分,选了cs61c。只能说cs61a/b/c一个比一个难。不过当时赶上疫情最后cs61c选了P/NP。不过从难度上来说我感觉还可以(毕竟没上过61b,只能拿61c参考)。每周<10h肯定没问题,再就是61c的一些project百度上都能找到,感觉61b也差不多?
感觉信息有用的话楼主给加个米吧hhh,加米不扣米啊

评分

参与人数 1大米 +1 收起 理由
xxcindy + 1 给你点个赞!

查看全部评分

回复

使用道具 举报

全局:
为啥不能回复。我也想捡一捡,tantanpty
回复

使用道具 举报

🔗
meloop 2021-3-20 02:48:04 来自APP | 只看该作者
全局:
+1+1请问有组织吗
回复

使用道具 举报

全局:
有组织吗?!
回复

使用道具 举报

🔗
 楼主| xxcindy 2021-3-21 00:55:34 | 只看该作者
全局:
可以加xuxindi98 这里不能发群二维码
回复

使用道具 举报

🔗
 楼主| xxcindy 2021-3-21 10:49:31 | 只看该作者
全局:
Week 1:
- 我终于把IDE设置好了🤦,大概是因为我看的是sp18的guide,弄了半天(literally半天)才弄好
- 把所有的内容都看了一遍,基本上没有什么surprising的


  1. public class Dog {
  2.   // instance variable
  3.   public int weight;
  4.   // class variable
  5.   public static String bioName = "Canine";

  6.   // constructor
  7.   public Dog(int myWeight){  <-- proper style to name this arg?
  8.     weight = myWeight
  9.   }

  10.   // instance method
  11.   public String makeNoice(){}

  12.   // class method
  13.   public static Dog compare(Dog dog1, Dog dog2 ){}
  14. }
复制代码

回复

使用道具 举报

🔗
 楼主| xxcindy 2021-3-21 13:03:50 | 只看该作者
全局:
Mikauney 发表于 2021-3-21 12:45
哈哈,看到cs61b果断点进来。
我是国内cs本科,大三在ucb交换了一年。正好因为要换国内专业课学分,选了cs ...

感谢你的回复。想问问你推荐CS 61C吗?你知道其他 Computer Architecture相关的公开课吗?还有是不是学OS之前最好学习学习Computer Architecture?十分感谢!
回复

使用道具 举报

🔗
Mikauney 2021-3-21 13:16:43 | 只看该作者
全局:
本帖最后由 Mikauney 于 2021-3-21 13:19 编辑
xxcindy 发表于 2021-3-21 13:03
感谢你的回复。想问问你推荐CS 61C吗?你知道其他 Computer Architecture相关的公开课吗?还有是不是学OS ...

这个课咋说呢,我觉得很重要,对了解计算机很有帮助,同样也是学校培养方案的必修课。但是像我现在申请master都是ai track这个课就没那么重要,申请的时候也不太看。主要看的是数据结构,离散数学,微积分,线代那些课。看你的需求吧,对于我现在的方向的话其实上不上也无所谓,课是好课突然发现lz姐姐好漂亮啊hhh

image.png (16.36 KB, 下载次数: 3)

image.png

评分

参与人数 1大米 +1 收起 理由
xxcindy + 1 很有用的信息!

查看全部评分

回复

使用道具 举报

🔗
 楼主| xxcindy 2021-3-21 13:51:24 | 只看该作者
全局:
Mikauney 发表于 2021-3-21 13:16
这个课咋说呢,我觉得很重要,对了解计算机很有帮助,同样也是学校培养方案的必修课。但是像我现在申请ma ...

谢谢你的回复。我还不确定master要修什么方向的,我现在很喜欢SDE不确定以后会不会继续。刷完DS和Algo就来上Architecture!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表