SlideShare a Scribd company logo
Sorting Algorithms
Comparison Sorting
 A comparison sort is a type of sorting algorithm that only
reads the list elements through a single comparison operation
(often a "less than or equal to" operator or a three-way
comparison) and determines which of two elements should
occur first in the final sorted list.
 What is common to all these algorithms?

– Make comparisons between input elements like:

ai < aj, ai ≤ aj, ai = aj,

ai ≥ aj, or

ai > aj

2
Examples of Comparison Sorting
1. Bubble sort
2. Insertion sort
3. Selection sort
4. Quick sort
5. Heap sort
6. Merge sort
7. Odd-even sort
8. Cocktail sort
9. Cycle sort
10. Merge insertion (Ford-Johnson) sort
11. Smoothsort
12. Timsort
3
Limitations of Comparison Sorting
 There are fundamental limits on the performance of
comparison sorts.
 To sort n elements, comparison sorts must make (n log n)
comparisons in the worst case.
 That is a comparison sort must have a lower bound of
Ω(n log n) comparison operations, which is known as linear or
linearithmic time.
 This is a consequence of the limited information available
through comparisons alone

4
Why does it takes so much of time?
 A decision tree is used to represent the comparisons of a
sorting algorithm. Assume that all inputs are distinct. A
decision tree compares all possible inputs to each other to
determine the sequence of outputs.
 Decision Tree for three numbers a1, a2, a3 : If at the root, a1 ≤
a2 gο left and compare a2 to a3, otherwise go to right and
compare a1 to a3. Each path represents a different ordering of
a1, a2, a3.
Why does it takes so much of time?
 This type of decision tree will have n! leaves.
 Any comparison based sorting algorithm will have to go
through the steps in the decision tree as a minimum
Why does it takes so much of time?
 So for n inputs, the tree must have n! leaves. A binary tree of
height h has no more than 2h leaves.
 Now n ! <= 2h
 Taking log on both side: lg(n !) <= h
 According to stirling’s approximation we have:

 So it can be written h= Ω(n log n). This means we need to do at
least n log n comparisons to reach the bottom of the tree
How Fast Can We Sort?
• Selection Sort, Bubble Sort, Insertion Sort, Cocktail
sort, Cycle sort: O(n2)
• Smooth sort, Odd-even sort, Timsort: O(n)
• Heap Sort, Merge sort: O(n log n)
• Quicksort:
– Average: O(n log n)
– Best: O(n log n) (simple partition) or O(n) (three-way
partition and equal keys)
8
Non Comparison Sorting
 There are some sorting algorithms that perform sorting without
comparing the elements rather by making certain assumptions
about the data. They are called the non comparison sorting.
 Non comparison sorting include:
1. Counting sort (indexes using key values)
2. Radix sort (examines individual bits of keys)
3. Bucket sort (examines bits of keys)
 These are Linear sorting algorithms. Linear sorts are NOT
“comparison sorts”.
 They make certain assumptions about the data. These type of
sorting algorithm does not need to go through the comparison
decision tree.
9
Counting sort
 Counting sort assumes that each of the n input elements is an
integer in the range 0 to k. that is n is the number of elements and
k is the highest value element.
 Consider the input set : 4, 1, 3, 4, 3. Then n=5 and k=4
 Counting sort determines for each input element x, the number of
elements less than x. And it uses this information to place
element x directly into its position in the output array. For
example if there exits 17 elements less that x then x is placed into
the 18th position into the output array.
 The algorithm uses three array:
Input Array: A[1..n] store input data where A[j] {1, 2, 3, …, k}
Output Array: B[1..n] finally store the sorted data
Temporary Array: C[1..k] store data temporarily
Counting Sort
1. Counting-Sort(A, B, k)
2. Let C[0…..k] be a new array
3. for i=0 to k
4.
C[i]= 0;
5. for j=1 to A.length or n
6.
C[ A[j] ] = C[ A[j] ] + 1;
7. for i=1 to k
8.
C[i] = C[i] + C[i-1];
9. for j=n or A.length down to 1
10.
B[ C[ A[j] ] ] = A[j];
11.
C[ A[j] ] = C[ A[j] ] - 1;
Counting Sort
1. Counting-Sort(A, B, k)
2. Let C[0…..k] be a new array
3. for i=0 to k
4.
C[i]= 0;
5. for j=1 to A.length or n
6.
C[ A[j] ] = C[ A[j] ] + 1;
7. for i=1 to k
8.
C[i] = C[i] + C[i-1];
9. for j=n or A.length down to 1
10.
B[ C[ A[j] ] ] = A[j];
11.
C[ A[j] ] = C[ A[j] ] - 1;

[Loop 1]
[Loop 2]

[Loop 3]
[Loop 4]
Counting-sort example
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

C:
1

B:

2

3

4

5

6

7

8
Executing Loop 1
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

0

0

0

0

C: 0
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

1

0

0

0

C: 0
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

1

0

0

1

C: 0
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

1

1

0

1

C: 0
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

1

1

0

1

C: 1
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

1

0

1

C: 1
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

2

0

1

C: 1
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

2

0

1

C: 2
1

B:

2

3

4

5

6

7

8
Executing Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

3

0

1

C: 2
1

B:

2

3

4

5

6

7

8
End of Loop 2
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

3

0

1

C: 2
1

B:

2

3

4

5

6

7

8
Executing Loop 3
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

3

0

1

C: 2
0

C: 2
1

B:

1

2

3

4

5

2

2

3

0

1

2

3

4

5

6

7

8
Executing Loop 3
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

3

0

1

2

C: 2

2

0

1

2

3

4

5

C: 2

2

4

3

0

1

1

B:

2

3

4

5

6

7

8
Executing Loop 3
1

2

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

1

2

3

4

5

C: 2

2

4

3

0

1

0

1

2

3

4

5

2

4

7

0

1

A:

C: 2
1

B:

2

3

4

5

6

7

8
Executing Loop 3
1

2

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

1

2

3

4

5

C: 2

2

4

7

0

1

0

1

2

3

4

5

2

4

7

A:

C: 2
1

B:

2

3

4

1

7
5

6

7

8
Executing Loop 3
1

2

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

1

2

3

4

5

C: 2

2

4

7

7

1

0

1

2

3

4

5

2

4

7

7

A:

C: 2
1

B:

2

3

4

5

8
6

7

8
End of Loop 3
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

2

4

7

7

8

C: 2
1

B:

2

3

4

5

6

7

8
Executing Loop 4
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

2

4

7

7

8

C: 2
1

B:

2

3

4

5

6

7

8
Executing Loop 4
1

A:

2

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

C: 2
1

B:

1

2

3

4

5

2

4

7

7

8

2

3

4

5

6

7

J=8, then A[ j ]=A[8]=3
And B[ C[ A[j] ] ]
=B[ C[ 3 ] ]
=B[ 7]
So B[ C[ A[j] ] ] ←A[ j ]
=B[7]←3

8
Executing Loop 4
1

A:

2

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

C:

1

2

3

4

5

2

2

4

6

7

8

1

B:

2

3

4

5

6

7

3

J=8, then A[ j ]=A[8]=3
Then C[ A[j] ]
= C[ 3 ]
=7
So C[ A[j] ] = C[ A[j] ] -1
=7-1=6

8
Executing Loop 4
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

2

4

6

7

8

C: 1
1

B:

2

0

3

4

5

6

7

3

8
Executing Loop 4
1

C:

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

1

2

4

5

7

8

1

B:

2

0

3

4

5

6

7

3

3

8
Executing Loop 4
1

C:

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

1

2

3

5

7

8

1

B:

2

0

3

4

2

5

6

7

3

3

8
Executing Loop 4
1

C:

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

0

2

3

5

7

8

1

B: 0

2

0

3

4

2

5

6

7

3

3

8
Executing Loop 4
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

2

3

4

7

8

C: 0
1

B: 0

2

0

3

4

5

6

7

2

3

3

3

8
Executing Loop 4
1

3

4

5

6

7

8

2

5

3

0

2

3

0

3

0

A:

2

1

2

3

4

5

2

3

4

7

7

C: 0
1

B: 0

2

0

3

4

5

6

7

8

2

3

3

3

5
End of Loop 4
1

2

3

4

5

6

7

8

A: 2

5

3

0

2

3

0

3

1

2

3

4

5

2

2

4

7

7

0

C: 0
1

B: 0

2

3

4

5

6

7

8

0

2

2

3

3

3

5

Sorted data in Array B
Time Complexity Analysis
1. Counting-Sort(A, B, k)
2. Let C[0…..k] be a new array
3. for i=0 to k
4.
C[i]= 0;
5. for j=1 to A.length or n
6.
C[ A[j] ] = C[ A[j] ] + 1;
7. for i=1 to k
8.
C[i] = C[i] + C[i-1];
9. for j=n or A.length down to 1
10.
B[ C[ A[j] ] ] = A[j];
11.
C[ A[j] ] = C[ A[j] ] - 1;

[Loop 1]

Loop 1 and 3
takes O(k) time

[Loop 2]

[Loop 3]
[Loop 4]
Loop 2 and 4
takes O(n) time
Time Complexity Analysis
• So the counting sort takes a total time of: O(n + k)
• Counting sort is called stable sort.
– A sorting algorithm is stable when numbers with
the same values appear in the output array in the
same order as they do in the input array.
Counting Sort Review
• Why don’t we always use counting sort?
– Depends on range k of elements.
• Could we use counting sort to sort 32 bit integers? Why or
why not?
Counting Sort Review
• Assumption: input taken from small set of numbers of size k
• Basic idea:
– Count number of elements less than you for each element.
– This gives the position of that number – similar to selection
sort.
• Pro’s:
– Fast
– Asymptotically fast - O(n+k)
– Simple to code
• Con’s:
– Doesn’t sort in place.
– Requires O(n+k) extra storage.
MD. Shakhawat Hossain
Student of Computer Science & Engineering Dept.
University of Rajshahi
Ad

More Related Content

What's hot (20)

Quick sort
Quick sortQuick sort
Quick sort
Jehat Hassan
 
Linear and Binary search
Linear and Binary searchLinear and Binary search
Linear and Binary search
Nisha Soms
 
Algorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms IAlgorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms I
Mohamed Loey
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
Abhishek L.R
 
Quick Sort
Quick SortQuick Sort
Quick Sort
Shweta Sahu
 
Binary search tree(bst)
Binary search tree(bst)Binary search tree(bst)
Binary search tree(bst)
Hossain Md Shakhawat
 
Heap sort
Heap sortHeap sort
Heap sort
Mohd Arif
 
Merge sort
Merge sortMerge sort
Merge sort
Sindhoo Oad
 
Presentation-Merge Sort
Presentation-Merge SortPresentation-Merge Sort
Presentation-Merge Sort
Md Showrov Ahmed
 
Data Structures - Lecture 8 [Sorting Algorithms]
Data Structures - Lecture 8 [Sorting Algorithms]Data Structures - Lecture 8 [Sorting Algorithms]
Data Structures - Lecture 8 [Sorting Algorithms]
Muhammad Hammad Waseem
 
Merge sort algorithm
Merge sort algorithmMerge sort algorithm
Merge sort algorithm
Shubham Dwivedi
 
Counting Sort and Radix Sort Algorithms
Counting Sort and Radix Sort AlgorithmsCounting Sort and Radix Sort Algorithms
Counting Sort and Radix Sort Algorithms
Sarvesh Rawat
 
3.6 radix sort
3.6 radix sort3.6 radix sort
3.6 radix sort
Krish_ver2
 
Strassen's matrix multiplication
Strassen's matrix multiplicationStrassen's matrix multiplication
Strassen's matrix multiplication
Megha V
 
Merge sort algorithm power point presentation
Merge sort algorithm power point presentationMerge sort algorithm power point presentation
Merge sort algorithm power point presentation
University of Science and Technology Chitttagong
 
Insertion sort
Insertion sortInsertion sort
Insertion sort
almaqboli
 
Hashing Technique In Data Structures
Hashing Technique In Data StructuresHashing Technique In Data Structures
Hashing Technique In Data Structures
SHAKOOR AB
 
knapsack problem
knapsack problemknapsack problem
knapsack problem
Adnan Malak
 
Bucket sort
Bucket sortBucket sort
Bucket sort
Hossain Md Shakhawat
 
Sorting
SortingSorting
Sorting
Ashim Lamichhane
 

Viewers also liked (12)

Sorting
SortingSorting
Sorting
Gopi Saiteja
 
Data Structure: Algorithm and analysis
Data Structure: Algorithm and analysisData Structure: Algorithm and analysis
Data Structure: Algorithm and analysis
Dr. Rajdeep Chatterjee
 
Sorting
SortingSorting
Sorting
Zaid Shabbir
 
358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14
sumitbardhan
 
Lecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic SortingLecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic Sorting
Haitham El-Ghareeb
 
Data Structures & Algorithm design using C
Data Structures & Algorithm design using C Data Structures & Algorithm design using C
Data Structures & Algorithm design using C
Emertxe Information Technologies Pvt Ltd
 
Merge sort and quick sort
Merge sort and quick sortMerge sort and quick sort
Merge sort and quick sort
Shakila Mahjabin
 
Complexity of Algorithm
Complexity of AlgorithmComplexity of Algorithm
Complexity of Algorithm
Muhammad Muzammal
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
Ankit Katiyar
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
Rishabh Soni
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Sorting Algorithms
Sorting AlgorithmsSorting Algorithms
Sorting Algorithms
Mohammed Hussein
 
Data Structure: Algorithm and analysis
Data Structure: Algorithm and analysisData Structure: Algorithm and analysis
Data Structure: Algorithm and analysis
Dr. Rajdeep Chatterjee
 
358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14
sumitbardhan
 
Lecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic SortingLecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic Sorting
Haitham El-Ghareeb
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
Ankit Katiyar
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
Rishabh Soni
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Ad

Similar to Counting sort(Non Comparison Sort) (20)

Counting Sort Lowerbound
Counting Sort LowerboundCounting Sort Lowerbound
Counting Sort Lowerbound
despicable me
 
Sorting2
Sorting2Sorting2
Sorting2
Saurabh Mishra
 
06 Analysis of Algorithms: Sorting in Linear Time
06 Analysis of Algorithms:  Sorting in Linear Time06 Analysis of Algorithms:  Sorting in Linear Time
06 Analysis of Algorithms: Sorting in Linear Time
Andres Mendez-Vazquez
 
lecture 10
lecture 10lecture 10
lecture 10
sajinsc
 
Lecture 13 data structures and algorithms
Lecture 13 data structures and algorithmsLecture 13 data structures and algorithms
Lecture 13 data structures and algorithms
Aakash deep Singhal
 
Sorting ppt
Sorting pptSorting ppt
Sorting ppt
Hassan Mustafa
 
Linear Sorting
Linear SortingLinear Sorting
Linear Sorting
Bhavik Vashi
 
Cis435 week06
Cis435 week06Cis435 week06
Cis435 week06
ashish bansal
 
DAA - chapter 1.pdf
DAA - chapter 1.pdfDAA - chapter 1.pdf
DAA - chapter 1.pdf
ASMAALWADEE2
 
Unit 7 sorting
Unit 7   sortingUnit 7   sorting
Unit 7 sorting
kalyanineve
 
Algorithms with-java-advanced-1.0
Algorithms with-java-advanced-1.0Algorithms with-java-advanced-1.0
Algorithms with-java-advanced-1.0
BG Java EE Course
 
Algorithms - "Chapter 2 getting started"
Algorithms - "Chapter 2 getting started"Algorithms - "Chapter 2 getting started"
Algorithms - "Chapter 2 getting started"
Ra'Fat Al-Msie'deen
 
lecture 9
lecture 9lecture 9
lecture 9
sajinsc
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithms
pppepito86
 
sorting1.pptx
sorting1.pptxsorting1.pptx
sorting1.pptx
AJAYVISHALRP
 
Annotations.pdf
Annotations.pdfAnnotations.pdf
Annotations.pdf
GauravKumar295392
 
Data structure using c module 1
Data structure using c module 1Data structure using c module 1
Data structure using c module 1
smruti sarangi
 
Daa chapter5
Daa chapter5Daa chapter5
Daa chapter5
B.Kirron Reddi
 
Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture Notes
Sreedhar Chowdam
 
Cis435 week01
Cis435 week01Cis435 week01
Cis435 week01
ashish bansal
 
Counting Sort Lowerbound
Counting Sort LowerboundCounting Sort Lowerbound
Counting Sort Lowerbound
despicable me
 
06 Analysis of Algorithms: Sorting in Linear Time
06 Analysis of Algorithms:  Sorting in Linear Time06 Analysis of Algorithms:  Sorting in Linear Time
06 Analysis of Algorithms: Sorting in Linear Time
Andres Mendez-Vazquez
 
lecture 10
lecture 10lecture 10
lecture 10
sajinsc
 
Lecture 13 data structures and algorithms
Lecture 13 data structures and algorithmsLecture 13 data structures and algorithms
Lecture 13 data structures and algorithms
Aakash deep Singhal
 
DAA - chapter 1.pdf
DAA - chapter 1.pdfDAA - chapter 1.pdf
DAA - chapter 1.pdf
ASMAALWADEE2
 
Algorithms with-java-advanced-1.0
Algorithms with-java-advanced-1.0Algorithms with-java-advanced-1.0
Algorithms with-java-advanced-1.0
BG Java EE Course
 
Algorithms - "Chapter 2 getting started"
Algorithms - "Chapter 2 getting started"Algorithms - "Chapter 2 getting started"
Algorithms - "Chapter 2 getting started"
Ra'Fat Al-Msie'deen
 
lecture 9
lecture 9lecture 9
lecture 9
sajinsc
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithms
pppepito86
 
Data structure using c module 1
Data structure using c module 1Data structure using c module 1
Data structure using c module 1
smruti sarangi
 
Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture Notes
Sreedhar Chowdam
 
Ad

More from Hossain Md Shakhawat (20)

Recipe for the effective presentaion
Recipe for the effective presentaionRecipe for the effective presentaion
Recipe for the effective presentaion
Hossain Md Shakhawat
 
The Road to Higher study in Japan
The Road to Higher study in JapanThe Road to Higher study in Japan
The Road to Higher study in Japan
Hossain Md Shakhawat
 
Application of dfs
Application of dfsApplication of dfs
Application of dfs
Hossain Md Shakhawat
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first search
Hossain Md Shakhawat
 
Islamic jurisprudence
Islamic jurisprudenceIslamic jurisprudence
Islamic jurisprudence
Hossain Md Shakhawat
 
Introduction to Medical Imaging
Introduction to Medical ImagingIntroduction to Medical Imaging
Introduction to Medical Imaging
Hossain Md Shakhawat
 
Jpeg compression
Jpeg compressionJpeg compression
Jpeg compression
Hossain Md Shakhawat
 
Surah Fatiha
Surah FatihaSurah Fatiha
Surah Fatiha
Hossain Md Shakhawat
 
Hashing
HashingHashing
Hashing
Hossain Md Shakhawat
 
Decision making and looping
Decision making and loopingDecision making and looping
Decision making and looping
Hossain Md Shakhawat
 
Decision making and branching
Decision making and branchingDecision making and branching
Decision making and branching
Hossain Md Shakhawat
 
Digital signature
Digital signatureDigital signature
Digital signature
Hossain Md Shakhawat
 
Caesar cipher
Caesar cipherCaesar cipher
Caesar cipher
Hossain Md Shakhawat
 
Rsa rivest shamir adleman
Rsa rivest shamir adlemanRsa rivest shamir adleman
Rsa rivest shamir adleman
Hossain Md Shakhawat
 
Fundamentals of cryptography
Fundamentals of cryptographyFundamentals of cryptography
Fundamentals of cryptography
Hossain Md Shakhawat
 
Introduction to programming with c,
Introduction to programming with c,Introduction to programming with c,
Introduction to programming with c,
Hossain Md Shakhawat
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processing
Hossain Md Shakhawat
 
History of computing
History of computingHistory of computing
History of computing
Hossain Md Shakhawat
 
Introduction to Printers
Introduction to PrintersIntroduction to Printers
Introduction to Printers
Hossain Md Shakhawat
 
Input devices_(Mouse and Keyboard)
Input devices_(Mouse and Keyboard)Input devices_(Mouse and Keyboard)
Input devices_(Mouse and Keyboard)
Hossain Md Shakhawat
 

Recently uploaded (20)

Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
Cultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptxCultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptx
UmeshTimilsina1
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
The History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptxThe History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
Cultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptxCultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptx
UmeshTimilsina1
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Overview Well-Being and Creative Careers
Overview Well-Being and Creative CareersOverview Well-Being and Creative Careers
Overview Well-Being and Creative Careers
University of Amsterdam
 
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptxTERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
TERMINOLOGIES,GRIEF PROCESS AND LOSS AMD ITS TYPES .pptx
PoojaSen20
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and GuestsLDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDMMIA Reiki News Ed3 Vol1 For Team and Guests
LDM Mia eStudios
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 

Counting sort(Non Comparison Sort)

  翻译: