1.

Write a program to count distinct elements in an array within the window size of W, using Hashing technique.Input formatInput consists of integer n' denoting the size of array, followed by 'n number ofarray elements followed by window size 'W.Output formatOutput displays the number of distinct elements in each windowSample testcasesInput 1Output 1731 2 1 3 4 2 343Input 2Output 2​

Answer» SRY but I don't KNOW what is that a N s I am REALLY SORRY for that


Discussion

No Comment Found