2018年2月27日

Leetcode刷题C#版之 Plus One

摘要: 题目: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any le 阅读全文

posted @ 2018-02-27 11:12 矢雨星辰2012 阅读(262) 评论(0) 推荐(0) 编辑

2018年2月23日

Leetcode刷题C#版之 Length of Last Word

摘要: 题目: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last 阅读全文

posted @ 2018-02-23 17:32 矢雨星辰2012 阅读(232) 评论(0) 推荐(0) 编辑

Leetcode刷题C#版之 Median of Two Sorted Arrays

摘要: 题目: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexit 阅读全文

posted @ 2018-02-23 14:03 矢雨星辰2012 阅读(198) 评论(0) 推荐(0) 编辑

2018年1月31日

Leetcode刷题C#版之Toeplitz Matrix

摘要: 题目: Toeplitz Matrix A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True 阅读全文

posted @ 2018-01-31 14:30 矢雨星辰2012 阅读(144) 评论(0) 推荐(0) 编辑

导航