×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
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
241
Answers
Python Program for Detect Cycle in a Directed Graph
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:28:55
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given a directed graph, we need to check whether the graph contains a cycle or not. The output should be true if the given graph contains at least one cycle, otherwise ...
Read More
Python Program for Cycle Sort
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:24:29
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given an array, we need to sort it using the concept of cycle sort.It is an in-place algorithm and swapping takes place by the formation of cycles.Now let’s observe the solution in ...
Read More
Python Program for Cutting a Rod
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:18:19
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given a rod of length n and an array of prices that contains prices of all pieces of the size which are smaller than n. We need to determine the maximum value ...
Read More
Python Program for Counting Sort
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:14:51
In this article, we will learn about the solution to the problem statement given below.Problem statement− We are given an array, we need to sort the array using the concept of counting sort.Counting sort is a technique in which we work on keys between a specific range. It involves counting ...
Read More
Python Program for Coin Change
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:09:39
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given N coins and we want to make a change of those coins such that, there is an infinite supply of each value in S. we need to display that in ...
Read More
Python Program for Cocktail Sort
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:06:42
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given a list, we need to perform a bitonic sort on the given list and display the listCocktail Sort − Here sort takes place like bubble sort where iteration takes place in both ...
Read More
Python Program for BogoSort or Permutation Sort
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 10:01:16
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given an array, we need to sort it using the concept of permutation sort.BogoSort also is known as permutation sort, is based on generating and testing paradigms.Now let’s observe the solution ...
Read More
Python Program for Binary Insertion Sort
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 09:57:23
In this article, we will learn about the solution to the problem statement given below.Problem statement − We are given an array, we need to sort it using the concept of binary insertion sort.Here as the name suggests, we use the concept of the binary search along with the insertion ...
Read More
Python Program for Basic Euclidean algorithms
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 09:54:41
In this article, we will learn about the solution to the problem statement given below.Problem statement− Given two numbers we need to calculate gcd of those two numbers and display them.GCD Greatest Common Divisor of two numbers is the largest number that can divide both of them. Here we follow ...
Read More
Python Program for array rotation
Python
Server Side Programming
Programming
Pavitra
Published on 20-Dec-2019 09:52:08
In this article, we will learn about the solution to the problem statement given below.Problem statement − Given a text and a pattern, we need to print all occurrences of pattern and its permutations (or anagrams) in text.Now let’s observe the solution in the implementation below −Example Live Demo# maximum value ...
Read More
Previous
1
...
5
6
7
8
9
10
11
...
25
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout