摘要: 题目如下: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Example 2: Exa 阅读全文
posted @ 2018-12-31 21:28 seyjs 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a wordlist, we want to implement a spellchecker that converts a query word into a correct word. For a given query word, the spell checker 阅读全文
posted @ 2018-12-31 17:05 seyjs 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 题目如下: A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued. Example 1: Exam 阅读全文
posted @ 2018-12-31 11:27 seyjs 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Return all non-negative integers of length N such that the absolute difference between every two consecutive digits is K. Note that every number 阅读全文
posted @ 2018-12-31 11:25 seyjs 阅读(305) 评论(0) 推荐(0) 编辑