Nikitasha Shrivastava has Published 195 Articles

Chunking array within array in JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 11-Aug-2023 16:57:55

197 Views

In this problem statement, our target is to get the chunking array within the array with the help of Javascript functionalities. So basically we will divide an array into smaller arrays. What is the meaning of Chunking array within an array ? Chunking an array means arranging the ... Read More

Check whether we can form string2 by deleting some characters from string1 without reordering the characters of any string - JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 11-Aug-2023 16:51:30

175 Views

In this given statement our task is to determine whether we can form string2 by removing some characters from the string1 without changing the order of the characters of any string with the help of Javascript functionalities. Understanding the problem The problem at hand is to check ... Read More

Absolute Values Sum Minimization in JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 11-Aug-2023 16:42:09

393 Views

In the given problem statement we have to find the absolute value for minimization of the sum in the given array with the help of Javascript functionalities. So we will use basic mathematics for solving the problem. Understanding the problem The problem at hand is to find the ... Read More

Check if string ends with desired character in JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 11-Aug-2023 16:30:50

124 Views

In the given problem statement we are required to check if the string ends with the desired character with the help of Javascript functionalities. So we will use basic functions and syntax of Javascript to solve the problem. Understanding the problem The problem at hand is to check ... Read More

Using Sieve of Eratosthenes to find primes JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 16:13:04

1K+ Views

In this problem statement, our aim is to apply a sieve of eratosthenes algorithm to find out the prime numbers with the help of Javascript functionalities. So in our program we will implement a function to find primes numbers up to a given limit. Understanding the problem statement The problem ... Read More

Using merge sort to recursive sort an array JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 16:11:38

2K+ Views

In this problem statement, our aim is to sort an array recursively using merge sort and implement the code with the help of Javascript. So below we will discuss Merge sort and its implementation. Understanding the problem statement The problem statement is to write a function for merge sort in ... Read More

Split a range of number to a specific number of intervals JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 16:08:39

2K+ Views

In this problem statement, our task is to write the function splitting a range of numbers to a specific number of intervals with the help of Javascript. So for doing this task we will have to give start, end and the intervals. Understanding the problem statement The problem statement is ... Read More

Spiraling the elements of a square matrix JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 16:04:33

218 Views

In this problem statement, our main aim is to spiral the elements of the square matrix with the help of Javascript functionalities. There are several methods that can be used to do this task in Javascript. Understanding the problem statement The problem statement is to write a function in ... Read More

Special arrays in JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 16:02:38

319 Views

In this problem statement, our task is to show working of some special arrays and their characteristics in Javascript programming. In Javascript a special array can be dependent on the given context. The special arrays can refer to different types of arrays depending on the condition and context. There are ... Read More

Sorting strings with decimal points in JavaScript

Nikitasha Shrivastava

Nikitasha Shrivastava

Updated on 18-May-2023 15:59:45

1K+ Views

In this problem statement, our aim is to sort strings with decimal points with the help of Javascript functionalities. So for doing this task we will use the sort and map method of Javascript. Understanding the problem statement The problem statement is to write a function in Javascript by which ... Read More

Advertisements