ZS Associates Interview Question

Diff btw dense and dense rank