摘要:
https://leetcode.com/problems/next-greater-element-i/#/description 阅读全文
摘要:
https://leetcode.com/problems/reverse-string/#/description 下面是使用C++的解决方案,不实用api: 这道题目有所变化,原来的要求是返回string,现在的要求是不返回任何值,而是在原来的字符串上直接修改。 下面使用python实现新的要求 阅读全文
摘要:
public class Solution { public IList<string> FizzBuzz(int n) { var list = new List<string>(); for (int i = 1; i <= n; i++) { if (i % 15 == 0) { list.A 阅读全文
摘要:
https://leetcode.com/problems/keyboard-row/#/description 阅读全文
摘要:
https://leetcode.com/problems/number-complement/#/description 阅读全文
摘要:
https://leetcode.com/problems/reverse-words-in-a-string-iii/#/description 阅读全文
摘要:
public class Solution { public int HammingDistance(int x, int y) { int[] aryA = new int[32]; int[] aryB = new int[32]; int i = 0; int j = 0; do { aryA 阅读全文