摘要: 题目描述 Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need 阅读全文
posted @ 2019-09-30 22:12 schaffen 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 题目介绍 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ha 阅读全文
posted @ 2019-09-30 19:05 schaffen 阅读(122) 评论(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 i 阅读全文
posted @ 2019-09-30 00:07 schaffen 阅读(105) 评论(0) 推荐(0) 编辑