reading order resolving removed
StringBuilder used instead of concatenating in loop