摘要:
Hi, this is the fifth blog of rust, I will talk about implementing OOP in rust. I have learned some some other OOP languages like Java, and I really l 阅读全文
摘要:
Hi, everyone, this is my fourth blog post for rust, in this blog post, I will talk about something about trait in rust. This blog might be more likely 阅读全文
摘要:
Hi, this is my third blog for unsafe in rust, I feel that unsafe is a superpower in rust and I am interested in it, this blog is to have some brief in 阅读全文
摘要:
Hi everyone, this is my second blog for the smart pointer in rust. We have already taken use of the Box<> in the previous exercises(Like the Christmas 阅读全文
摘要:
Hi, this is a blog comparing the reference in rust and java. I really love java and I have spend some time learning the framework like spring and othe 阅读全文
摘要:
二分搜索的非递归写法很直白,就是区间问题,维护三个变量从而达到搜索的目的,代码如下。 int Binary_Search(SSTable L, ElemType key) { int low = 0, high = L.TableLen - 1,mid;//low和high是下标大小。 while 阅读全文