随笔分类 - HashSet
哈希
[Leetcode 217&219]寻找数组中的重复值Contains Duplicate I & II
摘要:【题目1】 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 t
阅读全文
[Leetcode 771]宝石和石子 Jewels and Stones HashSet简单应用
摘要:【题目】 You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of
阅读全文
浙公网安备 33010602011771号