4 ms·
Advent Of Code seems to always have a Big Integer question to trip up beginner programmers. Its a great way to learn. Also coding a simple emulator, like for t
by floor_ 4y ago
Advent Of Code seems to always have a Big Integer question to trip up beginner programmers. Its a great way to learn.
Also coding a simple emulator, like for the chip-8 for example, and learning what a carry flag does would help with basic understanding of the problem.
- karamanolev 4y agoI've coded more than one mini-big int libraries for some high school CS comps back in the day. Also fun times. Simple arithmetic is easy and we never got really complicated operations for big ints. These days I'm super lazy and just Python the big int problems on things like Advent of Code. Much more boring. And because of floating point issues, I haven't seen them give something in the real domain, as compared to whole numbers.