It is the year 2047. Software corporations rule the world. Any man, woman, or child wishing to gain employment must endure a grueling interview process in which they are asked to solve insidious "logic problems," that are supposed to "uncover" the job candidate's ability to "pro-actively manage head-space resources to achieve correctness-oriented issue resolution." The times are dark.
One blog dares to expose the secrets of these Corpocratic Inquisitors, giving the citizenry precious time to solve these "problems" before they must face their Prosecutors-Most-Curious. That blog is The Odds Are One.
Someone breaks into your office, takes apart your keyboard, and switches all the letter keys around. The next morning you come in and notice that your keyboard looks strange. You can't remember where the letters used to be, and you can't touch type, so you type your name, which for the duration of this problem is "Dirk," by hunting for and pressing the 'd' key, then the 'i' key, and so on. You look up at the screen and what comes up is, 'gqwy.' So you type G-Q-W-Y using the same method as before, and look at the screen...up comes 'hzob'. You type H-Z-O-B, and look up at the screen, and so on. If you keep doing this for long enough, are you guaranteed that eventually you will see "dirk" typed on the screen? If so, what is the most number of times you'll have to type the four letters you see before you see your name?