2018年12月29日

Leetcode 915. Partition Array into Disjoint Intervals

摘要: Problem: Given an array A, partition it into two (contiguous) subarrays left and right so that: Every element in left is less than or equal to every e 阅读全文

posted @ 2018-12-29 14:38 周浩炜 阅读(206) 评论(0) 推荐(0) 编辑

Leetcode Index

摘要: 序: 用于记录刷题过程中难度较大或思路怪异的题目,对于常规难度一般的题就不写入我的博客了,关于效率仅是提交时击败的百分比,可能会随时间波动,仅供参考,算法优劣以时间复杂度和空间复杂度为基准。欢迎留言讨论。 阅读全文

posted @ 2018-12-29 14:26 周浩炜 阅读(256) 评论(0) 推荐(0) 编辑

Leetcode 685. Redundant Connection II

摘要: Problem: In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants 阅读全文

posted @ 2018-12-29 11:26 周浩炜 阅读(166) 评论(0) 推荐(0) 编辑

导航