摘要: 学习到的排序算法的总结,包括对COMP20003中排序部分进行总结,部分图片来自COMP20003 有部分内容来自http://www.cnblogs.com/eniac12/p/5329396.html 演示动画:https://www.cs.usfca.edu/~galles/visualiza 阅读全文
posted @ 2018-12-22 18:45 落星无尘_Will 阅读(1282) 评论(0) 推荐(0)
摘要: 对树的知识进行整理,图片来自COMP20003。 首先树(tree)并不一定都是二叉树(binary tree),这里主讲二叉树。 二叉树: 二叉树:即1个节点(node)至多有2个子节点(child node)。 遍历(traversal): 分3种:前序遍历(Pre-order traversa 阅读全文
posted @ 2018-12-06 11:07 落星无尘_Will 阅读(954) 评论(0) 推荐(0)
摘要: 题目来自于COMP20003 Tutorial 2: Program m ing Challenge 2.2 The technology stack at Hidebound Inc. uses a subset of C w hich doesn't have the '.' or '->'op 阅读全文
posted @ 2018-12-01 12:42 落星无尘_Will 阅读(875) 评论(0) 推荐(0)
摘要: The upper bound Big-O: Definition: f(n) is in O(g(n)) if there are constants c0 and N0 such that f(n) < c0*g(n) for all n>N0. We are only interested i 阅读全文
posted @ 2018-11-26 12:22 落星无尘_Will 阅读(301) 评论(0) 推荐(0)
摘要: Programming 1.3 In this problem, you'll be asked to find all the prime numbers from 1 to 1000. Prime numbers are used in allkinds of circumstances, pa 阅读全文
posted @ 2018-11-25 05:59 落星无尘_Will 阅读(494) 评论(0) 推荐(0)
摘要: 对材料C Programming Style for Engineering Computation的总结。 原文如下: 总结: 阅读全文
posted @ 2018-11-19 09:53 落星无尘_Will 阅读(199) 评论(0) 推荐(0)