01 2021 档案
摘要:Primitive Types vs Reference Types: the former stands for value, the latter stores the address e.g. int x = 10; In the diagram it looks like: x |__10
阅读全文
摘要:In the last session, we discovered a kind of data structure whose name is IntList. Below is its code: public class IntList{ public int first; pubic In
阅读全文
摘要:I am going to create an array which is similar to the list in python by using Java. It turns out that a very basic list is trivial to implement, as sh
阅读全文
摘要:In python,we have something like the list, say L[1,2,3]. We can also add the last digit to the list by doing so:L.append(i) However, in JAVA, we do no
阅读全文
摘要:本篇文章主要综合了https://fa20.datastructur.es/materials/guides/using-git.html#b-local-repositories-narrative-introduction(UCB CS61B) 以及廖雪峰的博客https://www.liaox
阅读全文