摘要: 1 """ 2 Given a 32-bit signed integer, reverse digits of an integer. 3 Example 1: 4 Input: 123 5 Output: 321 6 Example 2: 7 Input: -123 8 Output: -321 阅读全文
posted @ 2020-02-19 20:41 yawenw 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1 """ 2 Given a string, find the length of the longest substring without repeating characters. 3 Example 1: 4 Input: "abcabcbb" 5 Output: 3 6 Explanat 阅读全文
posted @ 2020-02-19 19:26 yawenw 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1 """ 2 Given a collection of distinct integers, return all possible permutations. 3 Example: 4 Input: [1,2,3] 5 Output: 6 [ 7 [1,2,3], 8 [1,3,2], 9 [ 阅读全文
posted @ 2020-02-19 15:48 yawenw 阅读(124) 评论(0) 推荐(0) 编辑