Pregunta de entrevista de Marvell Technology

what is diff between big-endien vs little-endien? How to check with code?