educative.io

Educative

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.

Course: https://www.educative.io/collection/5642554087309312/5679846214598656
Lesson: https://www.educative.io/collection/page/5642554087309312/5679846214598656/860001

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!