摘要:
Given a non-empty string s and an abbreviation abbr, return whether the string matches with the given abbreviation. A string such as "word" contains o 阅读全文
阅读排行榜
[LeetCode] 566. Reshape the Matrix_Easy
2018-08-19 04:50 by Johnson_强生仔仔, 235 阅读, 收藏,
摘要:
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. 阅读全文
[LeetCode] 832. Flipping an Image_Easy
2018-08-17 00:35 by Johnson_强生仔仔, 235 阅读, 收藏,
摘要:
Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means t 阅读全文
[LeetCode] 595. Big Countries_Easy tag: SQL
2018-08-11 04:28 by Johnson_强生仔仔, 235 阅读, 收藏,
摘要:
There is a table World A country is big if it has an area of bigger than 3 million square km or a population of more than 25 million. Write a SQL solu 阅读全文
[LeetCode] 110. Balanced Binary Tree_Easy tag: DFS
2018-08-07 00:49 by Johnson_强生仔仔, 235 阅读, 收藏,
摘要:
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the dep 阅读全文
浙公网安备 33010602011771号