HNHacker News
TopNewBestAskShowJobs

TARMAP

2 karma · joined November 20, 2010

submissionscomments
TARMAP··on A Google Interviewing Story
http://en.wikipedia.org/wiki/Chinese_room
TARMAP··on A Google Interviewing Story
I hate such stupid tricks, frankly a hash table or an array for a restricted domain is way faster, since the whole data structure gets cached on the L1.

I can solve the same problem by using statistical thermodynamics, and show its only o(1), since each string is a configuration of the system and finding common alphabets is like finding degenerate states.