2020年1月3日
摘要: 7. Reverse Integer Easy 27264236Add to ListShare Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Exampl 阅读全文
posted @ 2020-01-03 07:11 BlackYao 阅读(84) 评论(0) 推荐(0)
  2019年12月26日
摘要: 1297. Maximum Number of Occurrences of a Substring Medium 5048Add to ListShare Given a string s, return the maximum number of ocurrences of any substr 阅读全文
posted @ 2019-12-26 14:54 BlackYao 阅读(298) 评论(0) 推荐(0)
  2019年12月25日
摘要: 3. Longest Substring Without Repeating Characters Medium 7205424Add to ListShare Given a string, find the length of the longest substring without repe 阅读全文
posted @ 2019-12-25 11:57 BlackYao 阅读(163) 评论(0) 推荐(0)
摘要: 2. Add Two Numbers Medium 66271720Add to ListShare You are given two non-empty linked lists representing two non-negative integers. The digits are sto 阅读全文
posted @ 2019-12-25 11:54 BlackYao 阅读(249) 评论(0) 推荐(0)
摘要: Kotlin class Solution { fun twoSum(nums: IntArray, target: Int): IntArray { val v2i: MutableMap<Int,Int> = mutableMapOf() for((index, value) in nums.w 阅读全文
posted @ 2019-12-25 11:46 BlackYao 阅读(184) 评论(0) 推荐(0)