摘要: Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move to four directions: left, right, up or do 阅读全文
posted @ 2017-10-17 15:41 Tsunami_lj 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose elements may also be integ 阅读全文
posted @ 2017-10-17 13:39 Tsunami_lj 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than  阅读全文
posted @ 2017-10-17 12:54 Tsunami_lj 阅读(172) 评论(0) 推荐(0) 编辑