Skip to content

Desired explanation for bonus challenge in final problem? #9

@joyrexus

Description

@joyrexus

I'd love to see some definitive explanation for the bonus challenge presented in the final problem.

We know that a Uint16Array typed array represents an array of unsigned 16-bit integers and that the representation changes (viz., in the "offsets", I think) after 4294967295.

4294967294 '{"0":65534,"1":65535,"BYTES_PER_ELEMENT":2,"buffer":{"0":254,"1":255,"2":255,"3":255,"byteLength":4},"length":2,"byteOffset":0,"byteLength":4}'
4294967295 '{"0":65535,"1":65535,"BYTES_PER_ELEMENT":2,"buffer":{"0":255,"1":255,"2":255,"3":255,"byteLength":4},"length":2,"byteOffset":0,"byteLength":4}'
4294967296 '{"0":0,"1":0,"BYTES_PER_ELEMENT":2,"buffer":{"0":0,"1":0,"2":0,"3":0,"byteLength":4},"length":2,"byteOffset":0,"byteLength":4}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions