LinkedIn Interview Question

Very standard/easy programming questions