2021年7月31日
摘要: Q: Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: Th 阅读全文
posted @ 2021-07-31 13:33 guolongnv 阅读(75) 评论(0) 推荐(0) 编辑
摘要: Question Given an integer array nums, partition it into two (contiguous) subarrays left and right so that: Every element in left is less than or equal 阅读全文
posted @ 2021-07-31 11:40 guolongnv 阅读(21) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/CSerwangjun/article/details/102540663 一.定义itertools.accumulate(iterable[, func]) 二.解析iterable是一个可迭代的对象,如list等。 accumulate函数的功能是对 阅读全文
posted @ 2021-07-31 10:25 guolongnv 阅读(384) 评论(0) 推荐(0) 编辑