Download presentation
Presentation is loading. Please wait.
1
Array Techniques Unit 4
2
Array Order Reversal Problem
Rearrange the elements in an array so that they appear in reverse order.
3
Array Order Reversal Algorithm Description
4
Array Order Reversal Algorithm Applications Arrayreversal.txt
Vector and Matrix Processing
5
Array counting or histogramming
Problem Given a set of n student’s examination marks (in the range 0 to 100 ) make a count of the number of students that obtained each possible mark.
6
Array counting or histogramming
Algorithm Description
7
Array counting or histogramming
Algorithm histogram.txt Applications Statistical analysis
8
Finding maximum number in a set
Problem Find the maximum number in a set of n numbers.
9
Finding maximum number in a set
Algorithm Description
10
Finding maximum number in a set
Algorithm Maximum.txt Applications Plotting Scaling And Sorting
11
REMOVAL OF DUPLICATES FROM AN ORDERED ARRAY
Problem Remove all duplicates from an ordered array and contract the array accordingly.
12
REMOVAL OF DUPLICATES FROM AN ORDERED ARRAY
Algorithm Description
13
REMOVAL OF DUPLICATES FROM AN ORDERED ARRAY
Algorithm removedup.txt Application Data Compression and text processing problems
14
Partitioning an array Problem
Given a randomly ordered array of n elements, partition the elements into two subsets such that elements ≤x are in one subset and elements > x are in the other subset.
15
Partitioning an array Algorithm Description
16
Partitioning an array Algorithm Applications Paritition.txt Sorting
Statistical classification
17
Finding the kth Smallest element
Problem: Given a randomly ordered array of n elements determine the kth smallest element in the set.
18
Finding the kth Smallest element
Algorithm Description
19
Finding the kth Smallest element
20
Finding the kth Smallest element
Algorithm Smallestelement.txt Applications Finding the median and percentile
21
Longest monotone subsequence
Problem Given a set of n distinct numbers, find the length of the longest monotone increasing subsequence.
22
Longest monotone subsequence
Algorithm Description
23
Longest monotone subsequence
Algorithm Applications Studying random sequences File comparision
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.