【文件属性】:
文件名称:find_max_element_in_unsorted_LL_iterative
文件大小:2KB
文件格式:ZIP
更新时间:2021-04-17 23:53:44
JavaScript
find_max_element_in_unsorted_LL_iterative
问题:
class ListNode {
constructor(value = 0, next = null) {
this.value = value
this.next = next
}
}
function findMax(head) {
// Write your code here.
return -1
}
// Test Cases
var LL1 = new ListNode(1, new ListNode(4, new ListNode(5, new ListNode(1))))
var LL2 = new ListNode(7, new ListNode(1, new ListNode(5, new Li
【文件预览】:
find_max_element_in_unsorted_LL_iterative-main
----solution_wo_comments.js(878B)
----solution_w_comments.js(1KB)
----README.md(668B)