Code Samurai
A Practice Ground for Programmers
(Move to ...)
Home
About
▼
Tuesday, June 28, 2011
Check If an Integer's Bit Representation Is a Palindrome
›
Question: how can you determine if a positive integer is a palindrome. For example, 5 is a palindrome because 5 = 101. Also, 9 is a palindr...
5 comments:
Saturday, June 25, 2011
Search for Intersection Between Two Sorted Arrays of Integers
›
Question: there are two sorted arrays of integers such as array(1, 3, 6, 9, 10) and array(-2, 0, 4, 6, 12). Search for the intersection bet...
2 comments:
‹
›
Home
View web version