- 博客(4)
- 收藏
- 关注
原创 203. Remove Linked List Elements
问题描述: Remove all elements from a linked list of integers that have value val. Example: Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5 简述: 删除链表中特定值的节点。 ...
2018-07-19 14:59:16 104
原创 Count Primes
问题描述: Count the number of prime numbers less than a non-negative number, n. Example: Input: 10 Output: 4 Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7. 简述: 给一个非负整数n,计...
2018-07-19 12:02:35 125
原创 Isomorphic Strings
问题描述: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with a...
2018-07-17 16:09:47 92
原创 Number of 1 Bits
问题描述: Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight). Example 1: Input: 11 Output: 3 Explanation: Integer 11 has binar...
2018-07-17 14:56:36 121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人