- 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
267 Views
In this article, we will learn about the Selection sort and its implementation in Python 3.x. Or earlier.In selection sort algorithm, an array is sorted by recursively finding the minimum element from the unsorted part and inserting it at the beginning. Two subarrays are formed during the execution of Selection ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
14K+ Views
In this article, we will learn about the Linear Search and its implementation in Python 3.x. Or earlier.AlgorithmStart from the leftmost element of given arr[] and one by one compare element x with each element of arr[]If x matches with any of the element, return the index value.If x doesn’t ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
942 Views
In this article, we will learn about the implementation of Insertion sort in Python 3.x. Or earlier.AlgorithmIterate over the input elements by growing the sorted array at each iteration.Compare the current element with the largest value available in the sorted array.If the current element is greater, then it leaves the ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
132 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementWe will be given an array of number and we need to find the greatest common divisor.If we need to find gcd of more than two numbers, gcd is equal to the product of ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
126 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementThe standard form of a parabola equation is y=ax^2+bx+c. Input the values of a, b and c, our task is to find the coordinates of the vertex, focus and the equation of the directrix.The ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
292 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementInput diameter and height, find the perimeter of a cylinder.Perimeter is nothing but the side view of a cylinder i.e. a rectangle.Therefore Perimeter= 2 * ( h + d )here d is the diameter ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
248 Views
In this article, we will learn about the solution to the problem statement given below:Problem statementWe are given an integer input n and we need to sum of all n terms where the n-th term in a series as expressed below −Tn = n2 - (n-1)2We have direct formulas for ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
540 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven a number input n, the task is to Find the sum of odd factors of a number.Here we first need to eliminate all the even factors.To remove all even factors, we repeatedly divide ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
577 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven multiple numbers and a number input n, we need to print the remainder after multiplying all the number divisible by n.ApproachFirst, compute the remainder like arr[i] % n. Then multiply this remainder with ... Read More
![Pavitra](https://www.tutorialspoint.com/articles/images/user_icon.png)
Pavitra
533 Views
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven a number input , find the minimum sum of factors of the given number.Here we will compute all the factors and their corresponding sum and then find the minimum among them.So to find ... Read More