Solved answers for the stack overflow queries in algorithm and datastructure topics