Marvell Technology Interview Question

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