摘要:
https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 阅读全文
摘要:
https://leetcode.com/problems/first-unique-character-in-a-string/description/ Given a string, find the first non-repeating character in it and return 阅读全文
摘要:
https://leetcode.com/problems/reverse-string/description/ Write a function that takes a string as input and returns the string reversed. Example:Given 阅读全文
摘要:
https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/ Given a sorted array, remove the duplicates in-place such that each ele 阅读全文
摘要:
https://leetcode.com/problems/group-anagrams/description/ Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan" 阅读全文
摘要:
https://leetcode.com/problems/valid-anagram/description/ Given two strings s and t, write a function to determine if t is an anagram of s. For example 阅读全文
摘要:
https://leetcode.com/problems/power-of-three/description/ Given an integer, write a function to determine if it is a power of three. Follow up:Could y 阅读全文
摘要:
https://leetcode.com/problems/power-of-two/description/ Given an integer, write a function to determine if it is a power of two. 简单数学题,位运算 2的幂在2进制中只有1 阅读全文