Number Theory GCD and the Euclidean Algorithm Suppose we have two integers a and b. We say that the number d is the greatest common divisor of a and b if and only if, d \mid a and d \mid b and if c \mid a and c \mid b, then c \leq d. Condition 1 says that d is a common July 13, 2019January 26, 2020

Number Theory Some interesting types of numbers and their properties Numbers are really beautiful. When you dive deep into the properties of numbers, you’ll find amazing patterns. These findings are absoulutely satisfying. It doesn’t really matter whether you need it or not. Today we’ll take a look at triangular numbers, oblong numbers, also deficie June 30, 2019December 29, 2019

CPP Arrays and vectors in C++ An array is a linear data structure which stores a collection of elements stored in contiguous memory. If you come from a JavaScript background, you might not notice the problems that I want to discuss today. I was in the same situation, when I was learning C++. I was asking myself, “Really ? November 21, 2018December 29, 2019

JavaScript Coercion in JavaScript Coercion is the phenomenon that implicitly converts a value from one primitive type to another. Many times we need to convert a particular data type to another data type. If you have programmed in C/C++ or Java, you are more likely to encounter type casting where you have to convert a variable from September 9, 2017December 29, 2019

Web Design Implement the popular footer reveal effect When designing my blog, I wanted to implement the footer reveal effect which has become a trend now a days in modern web design. It’s a really cool effect and relatively easy to achieve with a couple of CSS lines. So, in this article we’ll see how to exactly achieve that. First of all, w September 5, 2017December 29, 2019

JavaScript Hoisting in JavaScript Today, we’re going to take a look at the phenomenon that happens in JavaScript that many people find surprising and perhaps a bit confusing. It’s called Hoisting” in JavaScript. In this article, we are going to take a look at JavaScript Hoisting and how it actually works. So, Let&# September 4, 2017January 21, 2020