Modulo Arithmetic
Everything on SkillVeris tagged Modulo Arithmetic — collected across the glossary, study notes, blog, and cheat sheets.
3 resources across 1 library
Interview Questions(3)
What is a Circular Queue?
A circular queue is a fixed-size queue implemented on an array where the last position wraps around to connect back to the first, allowing enqueue and dequeue…
What is a Circular Buffer (Ring Buffer)?
A circular buffer (or ring buffer) is a fixed-size array that wraps around on itself, using head and tail indices with modulo arithmetic so that writes and rea…
How to Solve Day and Date Sequence Puzzles
Day-sequence puzzles are solved by assigning each person a numeric slot in a fixed 7-day (or given) cycle, converting every 'before/after/gap' clue into a nume…