資料結構›Ch4 鏈結串列
第 3 題/共 22 題
◀ DS 3/22
3. Linked List、遞迴
#DS-04-003易Linked List遞迴

Write a recursive function in pseudocode that takes a reference (or pointer) to the first node of a linked list as argument and returns the value of the maximum key in the list. Assume that the keys in the linked list are all positive integers. If the linked list is empty, the function should return 0.

📄 台大114
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch4 鏈結串列
本章題號 · 1–20 / 22