A_hw

CS61A_hw09

def mutate_reverse(link): """Mutates the Link so that its elements are reversed. >>> link = Link(1) >>> mutate_reverse(link) >>> link Link(1) >>> link ......
A_hw CS 61 09 hw

CS61A_hw07

#lang sicp (define (unique s) (if (null? s) nil (cons (car s) (unique (filter (lambfa (x) (not (eq? x (car s)))) (cdr s))) ) ) ) 这是一个Scheme函数,名为unique ......
A_hw CS 61 07 hw

CS_61A_hw6

题目: def is_bst(t): """Returns True if the Tree t has the structure of a valid BST. >>> t1 = Tree(6, [Tree(2, [Tree(1), Tree(4)]), Tree(7, [Tree(7), Tr ......
A_hw CS 61 hw

CS61A_HW04

Q6 题目描述: Write a function has_path that takes in a tree t and a string phrase. It returns True if there is a path that starts from the root where the ......
A_HW CS 61 04 HW
共4篇  :1/1页 首页上一页1下一页尾页