摘要:
原文地址:https://www.jianshu.com/p/e8481d454076 时间限制:1秒 空间限制:32768K 题目描述 A linked list is given such that each node contains an additional random pointer 阅读全文
posted @ 2019-05-10 14:10
cherrychenlee
阅读(102)
评论(0)
推荐(0)
摘要:
原文地址:https://www.jianshu.com/p/8a11fe8ba14b 时间限制:1秒 空间限制:32768K 题目描述 Given a string s and a dictionary of words dict , determine if s can be segmented 阅读全文
posted @ 2019-05-10 14:08
cherrychenlee
阅读(136)
评论(0)
推荐(0)
摘要:
原文地址:https://www.jianshu.com/p/3ec6e0995562 时间限制:1秒 空间限制:32768K 题目描述 Given a string s and a dictionary of words dict , add spaces in s to construct a 阅读全文
posted @ 2019-05-10 14:06
cherrychenlee
阅读(206)
评论(0)
推荐(0)
摘要:
原文地址:https://www.jianshu.com/p/77ec745fca5c 时间限制:1秒 空间限制:32768K 题目描述 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve 阅读全文
posted @ 2019-05-10 14:05
cherrychenlee
阅读(91)
评论(0)
推荐(0)
摘要:
原文地址:https://www.jianshu.com/p/21009b10c42d 时间限制:1秒 空间限制:32768K 题目描述 Given a linked list, return the node where the cycle begins. If there is no cycle 阅读全文
posted @ 2019-05-10 14:03
cherrychenlee
阅读(75)
评论(0)
推荐(0)
摘要:
原文地址:https://www.jianshu.com/p/831f8ab83843 时间限制:1秒 空间限制:32768K 题目描述 Given a singly linked list L : L 0→ L 1→…→ L n 1→ L n, reorder it to: L 0→ L n → 阅读全文
posted @ 2019-05-10 14:02
cherrychenlee
阅读(90)
评论(0)
推荐(0)