摘要: We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron 阅读全文
posted @ 2019-10-30 23:36 CNoodle 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i 阅读全文
posted @ 2019-10-30 23:17 CNoodle 阅读(501) 评论(0) 推荐(0) 编辑
摘要: Given two strings s and t, determine if they are isomorphic. Two strings s and t are isomorphic if the characters in s can be replaced to get t. All o 阅读全文
posted @ 2019-10-30 02:15 CNoodle 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible representati 阅读全文
posted @ 2019-10-30 00:52 CNoodle 阅读(426) 评论(0) 推荐(0) 编辑