摘要:
Question: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Example 1: 阅读全文
摘要:
Question: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and 阅读全文
摘要:
Question: Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of 阅读全文
摘要:
Question: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image be 阅读全文
摘要:
Question: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which mak 阅读全文