Consider you are given a combination lock with three digits. You are told that the owner has forgotten the key, but he remembered that the three digits in the key are all less than 5.
If you want to crack the key, in the worst case, how many different combinations do you need to try?