PhonePe Interview Question

What is the difference between rank and dense_rank window function?