摘要:
7-4 Dijkstra Sequence (30 分) Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path 阅读全文
posted @ 2019-11-30 22:48
自由之翼Az
阅读(817)
评论(0)
推荐(0)
摘要:
7-3 Postfix Expression (25 分) Given a syntax tree (binary), you are supposed to output the corresponding postfix expression, with parentheses reflecti 阅读全文
posted @ 2019-11-30 22:22
自由之翼Az
阅读(379)
评论(0)
推荐(0)
摘要:
7-2 Merging Linked Lists (25 分) Given two singly linked lists L 1 =a 1 →a 2 →...→a n−1 →a n L1=a1→a2→...→an−1→an and L 2 =b 1 →b 2 →...→b m−1 →b m L2= 阅读全文
posted @ 2019-11-30 22:09
自由之翼Az
阅读(788)
评论(0)
推荐(0)
摘要:
7-1 Forever (20 分) "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum of all the digits of A is m; t 阅读全文
posted @ 2019-11-30 21:53
自由之翼Az
阅读(763)
评论(0)
推荐(0)

浙公网安备 33010602011771号