Sounds like you're referring to the "floor skip", which is only possible in the original Japanese version of Donkey Kong. It was fixed in later revisions of the Japanese version and is not present at all in the two US revisions.
There are no other "cheats" in the standard US version of Donkey Kong, unless you consider leeching points by jumping next to Kong on the rivets to be cheating. It's possible you're thinking of Crazy Kong, which includes the floor skip bug as well as a few others (dropping the hammer on the pies, a very rare ladder glitch on the pies that lets you climb through the floor, some weird stuff on the elevators).