- Trending Categories
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
Pavitra has Published 176 Articles
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
4K+ Views
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven a positive integer n. We need to find the largest prime factor of a number.ApproachFactorise the given number input by dividing it with the divisor of a number.Now keep updating the maximum prime ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
416 Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Our task to compute the nth Fibonacci number.The sequence Fn of Fibonacci numbers is given by the recurrence relation given belowFn = Fn-1 + Fn-2with seed values (standard)F0 = 0 and F1 ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
444 Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Given an integer, we need to calculate if the difference between the sum of odd digits and sum of even digits is 0 or not.The brute-force approach will be calculating the sum ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
2K+ Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Given an input n, we need to print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term.Here we will discuss two approach to reach ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
414 Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −We are given with three input values i.e principle, rate & time and we need to compute compound interest.The code given below shows the process of computation of compound interest.The formula used ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
1K+ Views
In this article, we will learn about the implementation of bubble sort sorting technique.The figure shown below illustrates the working of this algorithm −ApproachStarting with the first element(index = 0), compare the current element with the next element of the array.If the current element is greater than the next element ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
6K+ Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement − We will be given a sorted list and we need to find an element with the help of a binary search.AlgorithmCompare x with the middle element.If x matches with the middle ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
294 Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Given the side of a tetrahedron, we need to find a tetrahedron.A Tetrahedron is a geometric figure which looks like a pyramid with a triangular base. It is a solid object with ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
290 Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Given a square matrix of order n*n, we need to display elements of the matrix in Z form.Z form is traversing the matrix in the following steps −Traverse the first rowNow, traverse ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
2K+ Views
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statement −Given an integer input n, we need to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!Here we are implementing for loop, therefore, we get O(n) ... Read More