Aishwarya Mani Tripathi has Published 25 Articles

JavaScript Program for Mirror of matrix across diagonal

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 02-May-2023 17:15:58

226 Views

JavaScript Program for the Number of pairs with maximum sum is a common coding problem that involves finding the number of pairs in an array that have the maximum sum. This problem can be solved using various approaches, including brute-force, sorting, and hash tables. In this tutorial, we will discuss ... Read More

JavaScript program for Minimum Product Subset of an Array

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 02-May-2023 17:09:03

161 Views

JavaScript Program for Minimum product subset of an array is a common problem that arises in the field of computer science and programming. The problem statement requires us to find the minimum product that can be obtained from any subset of the given array. A minimum product subset of an ... Read More

JavaScript Program for Rotate the matrix right by K times

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 20-Apr-2023 15:31:17

145 Views

The term "perform right rotation on a matrix" refers to shifting each column in the matrix to the right. This operation is repeated "k" times when specified. In other words, it's a right shift of the matrix that occurs "k" times. This program can be implemented using various programming languages ... Read More

JavaScript Program for Search an element in a sorted and rotated array

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 20-Apr-2023 15:29:15

235 Views

When an array is sorted in ascending order and then rotated by some pivot point, it becomes challenging to search for an element using traditional search algorithms. As a developer, you need to find an efficient solution to this problem. In this article, we will guide you through the process ... Read More

JavaScript Program for Two Pointers Technique

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:51:59

1K+ Views

JavaScript Program for Two Pointers Technique is a commonly used algorithmic approach to solve various problems that require linear time complexity. This technique is widely used to find a solution for problems that involve searching, sorting, or manipulating arrays, strings, or linked lists. The approach works by maintaining two pointers, ... Read More

JavaScript program for the third largest element in an array of distinct elements

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:50:48

390 Views

In this tutorial, we will explore different ways to solve the problem using JavaScript. We will discuss various strategies and approaches that can be used to find the third largest element, and we will provide step-by-step explanations for each method. By the end of this tutorial, readers should have a ... Read More

JavaScript program for Swapping Nodes in A Linked List Without Swapping Data

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:50:02

202 Views

JavaScript program for Swapping Nodes in A Linked List Without Swapping Data is a familiar problem in web development that involves rearranging the order of nodes in a linked list. A linked list is a data structure that consists of nodes, each containing a piece of data and a reference ... Read More

JavaScript Program for Sorting a Linked List of 0s, 1s, And 2s

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:47:44

108 Views

In this tutorial, we will learn the JavaScript program for sorting a linked list of 0s, 1s, and 2s. Sorting algorithms are essential for any programming language, and JavaScript is no exception. Sorting a linked list of 0s, 1s, and 2s is a common problem that developers encounter in coding ... Read More

JavaScript program for Sort the given matrix

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:45:51

131 Views

Sorting a given matrix using JavaScript is a fundamental operation in programming. Sorting is the process of arranging the elements of a collection or matrix in a particular order. It is essential to make searching and other operations more efficient. In this article, we will discuss how to sort ... Read More

JavaScript program for Size of the Subarray with Maximum Sum

Aishwarya Mani Tripathi

Aishwarya Mani Tripathi

Updated on 17-Apr-2023 15:44:08

192 Views

JavaScript program for the Size of the Subarray with Maximum Sum is a common problem in the field of programming, especially in web development. The problem statement involves finding the contiguous subarray within a given one-dimensional array of integers which has the largest sum. This is also known as the ... Read More

Advertisements