摘要: 题目 You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 s 阅读全文
posted @ 2018-10-17 09:36 shinjia 阅读(102) 评论(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 le 阅读全文
posted @ 2018-10-17 09:32 shinjia 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non zero elements. Example: Inpu 阅读全文
posted @ 2018-10-17 09:29 shinjia 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 题目 You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the qualit 阅读全文
posted @ 2018-10-17 09:24 shinjia 阅读(89) 评论(0) 推荐(0) 编辑