Author: ACMer
In my previous post: I wrote a Chinese Chess Program I talked about a chess AI program I made 12 years ago, some ask me the algorithms that I …
IMO, there are two types of IT companies. The first one focuses the technology and the second one treats the business model as priorities. Google, Facebook and some other …
I am recently reviewing the data structure & algorithms. And the hash table is one of the key knowledge that you can’t miss before you attend a coding interview. …
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. For example, given two integers x=1 and y=4, the hamming distance …
Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: “Gold Medal”, “Silver Medal” and “Bronze …