最新 最热

Happy Number

1. Description2. SolutionVersion 1class Solution {public: bool isHappy(int n) { int

2019-05-25
0

Find the Duplicate Number

1. Description2. SolutionVersion 1class Solution {public: int findDuplicate(vector<int>& num

2019-05-25
0

Find All Numbers Disappeared in an Array

1. Description2. SolutionVersion 1class Solution {public: vector<int> findDisappearedNumbers

2019-05-25
0

Leetcode 27. Remove Element

1. Description2. SolutionVersion 1class Solution {public: int removeElement(vector<int>& num

2019-05-25
0

Move Zeroes

1. Description2. SolutionVersion 1class Solution {public: void moveZeroes(vector<int>& nums)

2019-05-25
0

Find Peak Element

1. Description2. SolutionVersion 1class Solution {public: int findPeakElement(vector<int>& n

2019-05-25
0

Count Primes

1. Description2. SolutionVersion 1class Solution {public: int countPrimes(int n) { i

2019-05-25
0

Bulls and Cows

1. Description2. SolutionVersion 1class Solution {public: string getHint(string secret, stri

2019-05-25
0

Sort List

1. Description2. SolutionVersion 1/** * Definition for singly-linked list. * struct ListNode {

2019-05-25
0

Merge Sorted Array

1. Description2. SolutionVersion 1class Solution {public: void merge(vector<int>& nums1, int

2019-05-25
0