Nikitasha Shrivastava has Published 194 Articles

JavaScript: Adjacent Elements Product Algorithm

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 22-Jan-2025 00:45:23

770 Views

In this article, we will learn to calculate the adjacent elements product with the help of Javascript functionalities. This problem is often asked in coding interviews or algorithm challenges, and it tests one's understanding of array manipulation and performance optimization. Problem Statement Given an array of integers, your task is ... Read More

JavaScript - Find if string is a palindrome (Check for punctuation)

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 13-Dec-2024 13:54:15

780 Views

In the given problem statement we have to find that the string is a palindrome and the string should also have punctuation and write code with the help of Javascript functionalities. Here we will learn two methods to determine if a string is a palindrome in JavaScript while handling punctuation ... Read More

JavaScript program to convert positive integers to roman numbers

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 30-Sep-2024 16:05:43

702 Views

We have to write a JavaScript program to generate the Roman number representation of given integer numbers. The code should accept a positive integer as input and will be able to transform the integer into its equivalent Roman number. Example Scenario: Input: num = 10; Output: roman_num = X ... Read More

JavaScript Sum odd indexed and even indexed elements separately and return their absolute difference

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 30-Sep-2024 16:03:09

1K+ Views

For a given list of elements, write a JavaScript program to find the sum of its odd and even indexed elements and then, calculate difference between them. To solve this problem, we will first separate odd indexed and even indexed elements. After separating them find their sum separately and store ... Read More

JavaScript Group a JSON Object by Two Properties and Count

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 27-Jun-2024 17:43:01

3K+ Views

The problem stated that we have to add two properties of the JSON object and count its occurrences. For example we have name and age properties in JSON then group them in a single property and count their occurrences. What is JSON? JSON (Javascript Object Notation) is lightweight ... Read More

Show Normal Inverse Gaussian Distribution in Statistics using Python

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-Oct-2023 15:43:03

285 Views

In this article we will be discussing the Normal inverse Gaussian distribution and also discuss how to implement and show this distribution using Python. Understanding the Problem The Normal Inverse Gaussian distribution in statistics is the probability distribution which can be used in various fields like finance, risk management and ... Read More

Show Normal Distribution in Statistics using Python

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-Oct-2023 15:42:20

312 Views

In the problem statement we are required to show the normal distribution using Python and its libraries. In the tutorial we will discuss what is normal distribution and how it can be plotted using Python. What is Normal Distribution in Statistics? In the statistics, Normal Distribution is a popular probability ... Read More

Show Non-Central T-Distribution in Statistics using Python

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-Oct-2023 15:26:54

224 Views

In the given problem statement we have to show the non-central T-distribution in statistics with the help of Python Programming. So to show this distribution we will use the python libraries. The non-central T-distribution in statistics is a family of distribution which is shaped by degrees of freedom and non-centrality ... Read More

Show Non-Central F-Distribution in Statistics using Python

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-Oct-2023 15:26:00

152 Views

In the given problem we have to show the non-central F-distribution with the help of Python and its libraries. So we will explore what non-central F-distribution is and how to show it using Python. Understanding the Non-Central F-Distribution The Non-Central F-Distribution is a probability distribution in statistics which is basically ... Read More

Show Non-Central Chi-squared Distribution in Statistics using Python

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-Oct-2023 15:24:38

189 Views

In the given problem statement we are required to show the Non-central Chi-squared distribution with the help of Python. So we will be using Python libraries to show the required result. Understanding the Non-Central Chi-squared Distribution The distribution called non-central chi-squared is a probability distribution in statistics. This distribution is ... Read More

1 2 3 4 5 ... 20 Next
Advertisements