ZS Associates interview question

Diff btw dense and dense rank