Computer Science, asked by shankar24karthi, 14 days ago

Write a program to count distinct elements in an array within the window size of
W, using Hashing technique.
Input format
Input consists of integer n' denoting the size of array, followed by 'n number of
array elements followed by window size '
W.
Output format
Output displays the number of distinct elements in each window
Sample testcases
Input 1
Output 1
7
3
1 2 1 3 4 2 3
4
3
Input 2
Output 2​

Answers

Answered by madhumitadey41
0

Answer:

Sry but I don't know what is that a n s I am really sorry for that

Similar questions