原文:[LeetCode] Longest Absolute File Path 最長的絕對文件路徑

Suppose we abstract our file system by a string in the following manner: The string dir n tsubdir n tsubdir n t tfile.ext represents: The directorydircontains an empty sub directorysubdir and a sub d ...

2016-08-25 13:55 5 12677 推薦指數:

查看詳情

[LeetCode] Longest Palindrome 最長回文串

Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. ...

Wed Oct 05 18:45:00 CST 2016 2 11586
最長回文子串 - leetcode 5. Longest Palindromic Substring

寫在前面:忍不住吐槽幾句今天上海的天氣,次奧,鞋子里都能養魚了...褲子也全濕了,衣服也全濕了,關鍵是這天氣還打空調,只能瑟瑟發抖祈禱不要感冒了.... 前后切了一百零幾道leetcode的題(solution同步在github),主要是揀難度系數定為easy的水題做...好吧,這是第一道算法題 ...

Mon Aug 24 17:44:00 CST 2015 0 2392
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM