摘要: You're given strings J representing the types of stones that are jewels, and Srepresenting the stones you have. Each character in S is a type of stone 阅读全文
posted @ 2019-01-02 17:23 fatttcat 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Design a HashMap without using any built-in hash table libraries. To be specific, your design should include these functions: put(key, value) : Insert 阅读全文
posted @ 2019-01-02 15:28 fatttcat 阅读(167) 评论(0) 推荐(0) 编辑
摘要: A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcode.com 阅读全文
posted @ 2019-01-02 14:03 fatttcat 阅读(174) 评论(0) 推荐(0) 编辑
摘要: An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate (sr, 阅读全文
posted @ 2019-01-02 08:40 fatttcat 阅读(115) 评论(0) 推荐(0) 编辑