Skip to content

Tag Archives: javascript-math

Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars. For simplicity,… Read More
In this article, we will learn how to create a working calculator with the Neumorphism effect using HTML, CSS, and JavaScript. Basic mathematical operations such… Read More
Math is an inbuilt object that has attributes and methods for mathematical functions and constants. It’s not a function object. Math object works with the… Read More
We have to build a website where you can upload your student data like their name, marks in different subjects. And after uploading it will… Read More
Do you want to calculate the percentage? If yes, then you can make a simple Percentage calculator using HTML, CSS, and JavaScript. In this article,… Read More
Gnome Sort also called Stupid sort, is based on the concept of a Garden Gnome sorting his flower pots. In order to know more about… Read More
Comb Sort is mainly an improvement over Bubble Sort. Comb Sort improves on Bubble Sort by using a gap of the size of more than… Read More
The predicate in JavaScript is the same as the predicate maths which returns true or false.  The predicate is just like a function that determines… Read More
Shell Sort is mainly a variation of Insertion Sort. The idea of shell sort is to allow the exchange of far items. In order to… Read More
In this article, we will implement a currency converter that simply converts the currency into any other country’s currency. Pre-requisites:Hey geek! The constant emerging technologies… Read More
In this article, we will see how to find the median of an array using JavaScript. Examples:Hey geek! The constant emerging technologies in the world… Read More
Given two or more numbers/array of numbers and the task is to find the GCD of the given numbers/array elements in JavaScript. Examples:Hey geek! The… Read More
Given a value x, and the task is to check the value against predicate function. If the value satisfies the condition or predicate return fn(x)… Read More
In this article, we will learn how to flatten a given array up to the specified depth in JavaScript. The flat() method in JavaScript is… Read More
Given an array and the task is to calculate the standard deviation of it. Example:Hey geek! The constant emerging technologies in the world of web… Read More