随笔分类 - 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.
阅读全文
摘要:题目: 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,
阅读全文
摘要:题目:Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single elem
阅读全文
摘要:题目链接: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
阅读全文