Interview Question solutions from various tech companies written in java