Pergunta de entrevista da empresa Marvell Technology

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