05 2022 档案
摘要:n^2 sort class Solution: """ @param a: an integer array @return: nothing """ def sort_integers1(self, a): # selection sort n = len(a) for i in range(n
阅读全文
摘要:leap year: 1. 能被400整除的是闰年 2. 不能被100整除但能被4整除的是闰年 if a year is divisible by 4 and not divisible by 100 or divisible by 400,it is a leap year Given a yea
阅读全文
摘要:python char to int: ord(character) int to char: chr(int_num) Convert a lowercase character to uppercase. Example 1: Input: 'a' Output: 'A' Example 2:
阅读全文
摘要:class Solution: """ @param a: An integer @param b: An integer @return: The sum of a and b """ def aplusb(self, a, b): # write your code here if b == 0
阅读全文

浙公网安备 33010602011771号