A transparent block A having refractive index is surrounded by another medium of refractive index . A light ray is incident on the flat face of the block with incident angle . What is the maximum value of for which light suffers total internal reflection at the top surface of the block?

Using the geometric relation :
Tagged Refraction at plane surfaces, Snell's law and apparent depth. Machine-assigned, so read it as a strong shortlist rather than a verdict.