摘要:        
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the     阅读全文
posted @ 2018-11-14 22:39
Veritas_des_Liberty
阅读(224)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti    阅读全文
posted @ 2018-11-14 21:56
Veritas_des_Liberty
阅读(256)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy    阅读全文
posted @ 2018-11-14 21:23
Veritas_des_Liberty
阅读(260)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege    阅读全文
posted @ 2018-11-14 19:53
Veritas_des_Liberty
阅读(296)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette    阅读全文
posted @ 2018-11-14 16:39
Veritas_des_Liberty
阅读(205)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号