This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class Solution(object): | |
| def containsDuplicate(self, nums): | |
| """ | |
| :type nums: List[int] | |
| :rtype: bool | |
| """ | |
| # 邏輯是對的,但是會Time Limit Exceeded | |
| # for j in range(0, len(nums)-1): | |
| # temp = nums[j] | |
| # for i in range(j+1,len(nums)): | 
NewerOlder