摘要:
/*Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t ... 阅读全文
posted @ 2015-09-17 21:26 cKK 阅读(463) 评论(0) 推荐(0)
|
||
|
摘要:
/*Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t ... 阅读全文
posted @ 2015-09-17 21:26 cKK 阅读(463) 评论(0) 推荐(0)
摘要:
//Given an integer, write a function to determine if it is a power of two.public class isPowerOfTwo { public static boolean isPowerOfTwo(int n) { ... 阅读全文
posted @ 2015-09-17 21:19 cKK 阅读(184) 评论(0) 推荐(0) |
||