This problem doesn't make sense for any language that doesn't allow pointers

…or any other means of direct memory access

Type your question above this line.


Hello @Peter_Litvak

Thank you for reaching out. In the lesson, it is already mentioned that “Java and Python don’t support pointer arithmetic. However, we can simply use native libraries to find the endianness of the system.” Similarly, for other such languages as well, we can simply use native libraries. We have also solved this problem using the Java native library.

Hope this helps!