some practice problems solved for interviews