摘要:
Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path problem which gives the short 阅读全文
posted @ 2020-07-24 19:42
JamieHou
阅读(771)
评论(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; th 阅读全文
posted @ 2020-07-24 18:39
JamieHou
阅读(222)
评论(0)
推荐(0)
摘要:
7-2 Merging Linked Lists (25分) Given two singly linked lists L 1 =a 1 →a 2 →⋯→a n−1 →a n and L 2 =b 1 →b 2 →⋯→b m−1 阅读全文
posted @ 2020-07-24 16:34
JamieHou
阅读(1024)
评论(0)
推荐(0)
摘要:
7-3 Postfix Expression (25分) Given a syntax tree (binary), you are supposed to output the corresponding postfix expression, with parentheses reflectin 阅读全文
posted @ 2020-07-24 16:05
JamieHou
阅读(610)
评论(0)
推荐(0)
摘要:
算法笔记 c++ string 阅读全文
posted @ 2020-07-24 09:10
JamieHou
阅读(469)
评论(0)
推荐(0)

浙公网安备 33010602011771号