2017年5月23日

并查集(Union-Find)算法介绍

摘要: 转载自:http://blog.csdn.net/dm_vincent/article/details/7655764 关联题目:http://www.lintcode.com/zh-cn/problem/connecting-graph/ 本文主要介绍解决动态连通性一类问题的一种算法,使用到了一种 阅读全文

posted @ 2017-05-23 21:00 一个后端狗 阅读(349) 评论(0) 推荐(0)

Lintcode亚麻模拟面试

摘要: Phone Interview I 53.reverse-words-in-a-string 1 class Solution: 2 # @param s : A string 3 # @return : A string 4 def reverseWords(self, s): 5 # write 阅读全文

posted @ 2017-05-23 16:57 一个后端狗 阅读(377) 评论(0) 推荐(0)

导航