实现函数 ToLowerCase(),该函数接收一个字符串参数 str,并将该字符串中的大写字母转换成小写字母 […]
机器人能否返回原点-LeetCode#657
在二维平面上,有一个机器人从原点 (0, 0) 开始。给出它的移动顺序,判断这个机器人在完成移动后是否在&nb […]
电话号码的字母组合-LeetCode#17
给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。 给出数字到字母的映射如下(与电话按键相同) […]
Excel Sheet Column Title-LeetCode#168
168. Excel Sheet Column Title Given a positive int […]
Max Consecutive Ones-LeetCode#485
485. Max Consecutive Ones Given a binary array, find th […]
Prison Cells After N Days-LeetCode#957
957. Prison Cells After N Days There are 8 prison cells […]
License Key Formatting-LeetCode#482
482. License Key Formatting You are given a license key […]
Buddy Strings-LeetCode#859
859. Buddy Strings Given two strings A and B of lowerca […]
Reverse Words in a String III-LeetCode#557
557. Reverse Words in a String III Given a string, you […]
Pascal's Triangle-LeetCode#118
118. Pascal’s Triangle Given a non-negative integ […]