Posts by Keshav J
Author Biographical Info: Full Stack Web Developer | Sport Programmer
In this tute, we will discuss std::upper_bound() in C++. There are many ways to find the next greater element of a value in a sorted array. The first method is to run a linear loop.... Read More
In this tute, we will discuss how to copy an array in javascript. Before we get into the main topic, let me tell you about the array in brief. An array is a special variable that c.... Read More
In this tute, we will discuss about std::distance() in C++. The std::distance() is an in-built function provided in the Standard Library (STL). The std::distance() method is used t.... Read More
In this tute, we will discuss the Euler tour of a tree in C++. Before entering into the topic, let’s see an intro about trees. Euler Tour: Euler Tour of a tree is defined as .... Read More
In this tute, we will discuss use strict in JavaScript. You can also call it the strict mode. What is Use Strict? The "use strict" is a JavaScript directive used to execute JavaScr.... Read More
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
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
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