Training Epoch

Vikhyat Korrapati's Blog

Animus Introduction

This post will get you started with the contest Animus. The goal is to write a bot that will play the game “Dots and Boxes”.

Matrix Multiplication in Ruby

Ruby has an inbuilt Matrix class, which you should use in any serious application. In this article, we discuss how matrix multiplication can be performed efficiently. However, because the code we write is in Ruby, even a very good implementation will run slower than using the Matrix class.

Finding the Remainder Left Behind When Dividing a Large Number

It is easy to compute the remainder left behind upon dividing, for example, \( 2^{100} \) by \(3\) using modular arithmetic.

Modular arithmetic is a system of arithmetic in which numbers wrap around, or get ‘reset’ once they reach a certain value. You can think of it as arithmetic using a number circle as opposed to a number line.