摘要:
题目: 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 阅读全文
摘要:
1、“覆盖”私有方法 class Super{ public void fun(){ System.out.println("Super"); } public static void main(String[] args){ Super sup = new Sub(); sup.fun(); } 阅读全文