BSG ITSoft interview question

Reverse the String without using the .length method and count the distinct character in a string.