← techinterview

Search: train

901 matches

Upside down years
1 min read When was the last year that looked the same upside down? (1961) 2026 Update: Strobogrammatic Numbers — Rotation Invariant Digits […] Read article
May 12, 2016 Coding Interview Questions
Reverse a String
3 min read A typical programming interview question is “reverse a string, in place”. if you understand pointers, the solution is simple. even […] Read article
Apr 16, 2010 Algorithms
Bumblebee
3 min read problem: two trains enter a tunnel 200 miles long (yeah, its a big tunnel) travelling at 100 mph at the […] Read article
Apr 16, 2010 Algorithms
Daughters’ Ages
3 min read Two MIT math grads bump into each other at Fairway on the upper west side. They haven’t seen each other […] Read article
Apr 16, 2010 Bit Manipulation
Sum it Up
4 min read Problem: you are given a sequence of numbers from 1 to n-1 with one of the numbers repeating only once. […] Read article
Apr 16, 2010 Algorithms
Jelly Beans
3 min read You have three jars that are all mislabeled. one contains peanut butter jelly beans, another grape jelly jelly beans, and […] Read article
Apr 16, 2010 Brain Teasers
Scroll to Top