摘要: 1.题目An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, ... 阅读全文
posted @ 2020-04-15 18:53 Jason66661010 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1.题目Given a sequence of positive integers and another positive integer p. The sequence is said to be a per... 阅读全文
posted @ 2020-04-15 10:29 Jason66661010 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1.题目On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters c... 阅读全文
posted @ 2020-04-15 10:26 Jason66661010 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1.题目A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involv... 阅读全文
posted @ 2020-04-15 09:44 Jason66661010 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.题目According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growi... 阅读全文
posted @ 2020-04-15 09:04 Jason66661010 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1.题目For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their... 阅读全文
posted @ 2020-04-15 08:59 Jason66661010 阅读(97) 评论(0) 推荐(0) 编辑