![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LintCode刷题
hanhanhan0ne
这个作者很懒,什么都没留下…
展开
-
Log Sorting
public class LogSorting { /* * 1380. Log Sorting * * Given a list of string logs, in which each element representing a log. Each * log can be separated into two parts by the f...原创 2020-03-20 14:44:27 · 141 阅读 · 0 评论 -
116. Jump Game
116.Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position....原创 2020-03-19 22:17:09 · 89 阅读 · 0 评论 -
114. 不同的路径
114.不同的路径有一个机器人的位于一个m×n个网格左上角。机器人每一时刻只能向下或者向右移动一步。机器人试图达到网格的右下角。问有多少条不同的路径?ExampleNoticen和m均不超过100且答案保证在32位整数可表示范围内。public class Solution { /** * @param m: positive ...原创 2020-03-19 12:58:58 · 79 阅读 · 0 评论 -
512. Decode Ways
public class Solution { /** * @param s: a string, encoded message * @return: an integer, the number of ways decoding */ public int numDecodings(String s) { // write you...原创 2020-03-19 12:46:31 · 67 阅读 · 0 评论