摘要:
题目如下: Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You may not modify the values in the list's nodes, only nod 阅读全文
posted @ 2019-03-19 17:13
seyjs
阅读(220)
评论(0)
推荐(0)
摘要:
题目如下: A conveyor belt has packages that must be shipped from one port to another within D days. The i-th package on the conveyor belt has a weight of 阅读全文
posted @ 2019-03-19 17:09
seyjs
阅读(377)
评论(0)
推荐(0)
摘要:
题目如下: In a list of songs, the i-th song has a duration of time[i] seconds. Return the number of pairs of songs for which their total duration in secon 阅读全文
posted @ 2019-03-19 17:00
seyjs
阅读(374)
评论(0)
推荐(0)
摘要:
题目如下: Every non-negative integer N has a binary representation. For example, 5 can be represented as "101" in binary, 11 as "1011" in binary, and so o 阅读全文
posted @ 2019-03-19 16:54
seyjs
阅读(349)
评论(0)
推荐(0)
浙公网安备 33010602011771号