Some inverse problems in group theory