IncredibleThings

导航

2016年5月19日 #

LeetCode-Contains Duplicate

摘要: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element i... 阅读全文

posted @ 2016-05-19 23:06 IncredibleThings 阅读(214) 评论(0) 推荐(0) 编辑

LeetCode-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 another... 阅读全文

posted @ 2016-05-19 22:38 IncredibleThings 阅读(117) 评论(0) 推荐(0) 编辑