Posts by Keshav J

Author Biographical Info: Sport Programmer

Eulerian Path and Circuit for undirected graphs in C++

By Keshav J

In this tute, we will discuss Eulerian Path and Circuit for undirected graphs in C++. Many of us would’ve heard of this somewhere when learning math concepts. What is an undi.... Read More

Modular Exponentiation (Power in Modular Arithmetic) in C++

By Keshav J

In this tute, we will discuss Modular Exponentiation (Power in Modular Arithmetic) in C++. Given 3 integers a, b, and m, find (ab) % m. Let’s see how to calculate (ab) % m i.... Read More

JavaScript string.normalize() Method

By Keshav J

In this tute, we will discuss the JavaScript string.normalize() method | return Unicode normalization. The JavaScript string.normalize() method is used to normalize the given strin.... Read More

JavaScript string.match() method

By Keshav J

In this tute, we will discuss the JavaScript string.match() method. The JavaScript match() is an in-built function used to search for a given string in the original string. The mat.... Read More

How to shuffle characters of a string in JavaScript

By Keshav J

In this tute, we will discuss how to shuffle characters of a string in JavaScript. Before getting into the topic, let’s see what is a string in JavaScript. The JavaScript string .... Read More

Get Maximum and Minimum value from a JavaScript Array

By Keshav J

In this tute, we will discuss how to get Maximum and Minimum value from an Array in JavaScript. Before entering into the topic, let’s see a quick recap of arrays. An array is.... Read More

How to shuffle elements of an Array in JavaScript

By Keshav J

In this tute, we will discuss how to shuffle elements of an array in JavaScript. Before getting into the topic, let’s see what is an array. An array is a special variable tha.... Read More

Get common elements from two Arrays in JavaScript

By Keshav J

In this tute, we will discuss how to get common elements between two Arrays in JavaScript. Prior to getting into the topic, let’s see what is an array. An array is a special .... Read More