Extremal Graphs With Respect To Certain Topological Indices