随笔分类 -  LeetCode

摘要:题目: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. 阅读全文
posted @ 2018-01-29 16:33 xxbbtt 阅读(189) 评论(0) 推荐(0) 编辑
摘要:题目: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 阅读全文
posted @ 2018-01-17 17:10 xxbbtt 阅读(126) 评论(0) 推荐(0) 编辑
摘要:题目:Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single elem 阅读全文
posted @ 2018-01-17 13:56 xxbbtt 阅读(150) 评论(0) 推荐(0) 编辑
摘要:题目链接:https://leetcode.com/problems/super-pow/description/ Your task is to calculate ab mod 1337 where a is a positive integer and b is an extremely la 阅读全文
posted @ 2017-11-06 14:19 xxbbtt 阅读(315) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示