### Degree of Array – Interview Question

Find the degree of an array where degree of an array is the maximum frequency of any element in the array. Also find the smallest possible sub-array with the same degree. To begin with, make sure you understood the question correctly. Write a sample array on the whiteboard and ask them if the degree you…

Read more

## Recent Comments