摘要:
https://leetcode.com/problems/maximum-subarray/Find the contiguous subarray within an array (containing at least one number) which has the largest sum... 阅读全文
摘要:
Test-Driven Development PrinciplesTDD consists of writing test cases that cover a desired feature, then writing the feature itself. In other words, th... 阅读全文
摘要:
无它,非bin()莫属。bin(x)Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to de... 阅读全文
摘要:
https://leetcode.com/problems/product-of-array-except-self/Given an array of n integers where n > 1, nums, return an array output such that output[i] ... 阅读全文
摘要:
废话不多说直接祭上python3.3x的文档:(原文链接)object.__hash__(self)Called by built-in function hash() and for operations on members of hashed collections including s... 阅读全文