摘要: 原题链接在这里:https://leetcode.com/problems/strobogrammatic-number-iii/ 题目: A strobogrammatic number is a number that looks the same when rotated 180 degree 阅读全文
posted @ 2017-01-11 14:03 Dylan_Java_NYC 阅读(519) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/integer-replacement/ 题目: Given a positive integer n and you can do operations as follow: What is the minimum num 阅读全文
posted @ 2017-01-11 12:51 Dylan_Java_NYC 阅读(208) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/convert-a-number-to-hexadecimal/ 题目: Given an integer, write an algorithm to convert it to hexadecimal. For nega 阅读全文
posted @ 2017-01-11 12:07 Dylan_Java_NYC 阅读(399) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/number-complement/ 题目: Given a positive integer, output its complement number. The complement strategy is to fli 阅读全文
posted @ 2017-01-11 09:23 Dylan_Java_NYC 阅读(445) 评论(0) 推荐(0)