![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 9326 Articles for Object Oriented Programming
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
182 Views
In the above problem statement our task is to find the smallest number that is divisible by the first n numbers with the help of Javascript functionalities. So Understanding the Problem The problem at hand is to find the smallest number which is evenly divisible by the first n numbers. Or we can say that we have to look for a lowest number that can be divided by each of the numbers from 1 to n without any remainder. Logic for the given Problem For solving this problem we can use the concept of Least ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
213 Views
In the given problem statement we have to find the largest palindrome number made from the product of two n digit numbers with the help of Javascript functionalities. So we will create two functions to do this task. First function is to find the largest palindrome number and the second function is to check that the number is palindrome. What are Palindrome Numbers ? In the given problem statement there is the usage of the word palindrome !! Let’s first understand the meaning of this word. Palindrome is the term used when we have to define a string ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
703 Views
In the given problem statement we have to find the largest prime factor of a number with the help of Javascript functionalities. So we will solve this problem with the help of basic functionalities of Javascript. Understanding the Problem The problem at hand is to find the largest prime factor of a given input number. So the prime factor of a number is the prime number which can divide the given number without leaving the remainder. Our task is to find the largest prime factor which is the prime factor with the highest value. For example let's say ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
515 Views
In the given problem statement we have to find all the longest strings from an array with the help of Javascript functionalities. So basically this task can be done by getting the length of each string and then comparing these lengths with the maximum length. Understanding the Problem The problem at hand is to find the longest strings from an array in Javascript. So we will have an array of strings and our main task is to identify the strings which have the maximum length and show them as a new array. For example: suppose we have an ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
547 Views
In the given problem statement we have to calculate the adjacent elements product with the help of Javascript functionalities. So we will use a loop and basic mathematical operations to solve this problem. Understanding the problem The problem statement at hand is to calculate the product of two adjacent elements and the product should be maximum in the array. So basically the algorithm involves the maximum product of two adjacent items in the array. This functionality is commonly used in various cases like finding the maximum profit or solving the mathematical puzzles. The example of the ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
383 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 absolute values for minimization of the sum. This is the basic problem to solve in mathematics and computer science. This program involves finding a number from the given array which minimizes the sum of the absolute difference between that number and the other item in the array. Logic ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
366 Views
In the given problem statement we have to calculate the sum of even fibonacci numbers with the help of Javascript functionalities. So for solving this task we will use basic functionalities of the language. Understanding the Problem The problem at hand is to calculate the sum of even fibonacci numbers or items up to the given limit of the fibonacci number. As you may know, the fibonacci sequence is a series of numbers in which every number is the sum of the two previous numbers. The series usually starts from 0 and 1. So in this problem our ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
2K+ Views
In the given problem statement we have to find the sum of the multiples of the given input number within the given range with the help of Javascript functionalities. So we will use a loop to iterate through the numbers from the starting range to the ending range. Understanding the Problem The problem at hand is to find the sum of multiples of the given number in the given range. So in this problem we have to calculate the sum of all the numbers that are divisible by the given number. For example: suppose we have a ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
91 Views
In the given problem statement we have to sort the given integer array but we have to keep the first item in place and sort the remaining items with the help of Javascript functionalities. So we will use some predefined functions of Javascript to solve the problem. Understanding the Problem The problem at hand is to get the sorted array of integer numbers in Javascript and the main operation in this task is to keep the first item intact in its original position. Or we can say we have to rearrange the items in the array so that ... Read More
![Nikitasha Shrivastava](https://www.tutorialspoint.com/assets/profiles/655298/profile/60_3988199-1684213136.jpeg)
203 Views
In the given problem statement we have to find the exact individual count of the array of strings in the array of sentences with the help of Javascript functionalities. So we will solve using the for loops to get the required result. Understanding the Problem The problem at hand is to find the exact individual count for each string in an array of sentences with the help of Javascript. We will be given an array or string and an array of sentences. So we have to find out how many times every string is appearing in the given ... Read More