Few Interesting Data Structure problem, Solved my way.