📣 黑五价提前开抢|VIP一年通行证5折,蓝莓、Offer多多同步特惠
查看: 6354| 回复: 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请问有组织吗
回复

使用道具 举报

无效楼层,该帖已经被删除
全局:
有组织吗?!
回复

使用道具 举报

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

本版积分规则

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