2015年3月1日星期日

Abstract Data Structures

As we all know, data structures is a essential part of computer science. Different data structures organise data differently, which means data shall be use efficiently. So far, I have learnt several types of data structures, which are queue, stack and tree. In my opinion, the difference between stack and queue is that queue is first-in-first-out and stack is last-in-first-out. Moreover, tree can be seen as a collection of nodes, and each single nodes is a data structure consisting of a value. While recursion is being comprehensively used in abstract data structures. Interestingly, these data structures are defined mathematically, so we can demonstrate it as math method. Such as Fibonacci sequence can be represent as a tree. However, what I have learnt so far are fundamental part of data structures, there are still lots of things to know.

2015年2月1日星期日

what's something new you learned this week in class


This week, we've learned recursion and how to trace the call of recursions. Recursion is the process of repeating items in a self-similar way.  Actually, before the computer is invented, recursion has been used in a comprehensive way. For instance, fibonacci number is one of the most famous applications of recursion. Although recursion is important in coding, we haven’t known how to use it in our everyday coding. In short, when we want to learn how to use recursion, we may use it before we learn.

2015年1月25日星期日

Why geeks should write


As we all know, a navigator should keep a log and a lot of maps, because he need to record the feeling of daily sailing. Similarly, geeks should write as well because they should write down their thoughts of everyday coding, structuring, etc. Moreover, Writing is a important way for human being to reflect their emotion of the world. There is a Chinese famous writer who called Xiaobo Wang, his degree is about computer science, writing is one of his hobbies. He was a geek until he realise his passion in writing. Thus it can be seen that writing may not be a part of geeks’ career, but should be a part of their life.