Distance Sudoku 2017 - 1

Another request from Rakesh Rai. A Distance Sudoku. To be honest, this is the first time I think I am creating a Distance Sudoku in a very long time. I don't even remember the last time I created this variant. Creating new variants is a challenge I love. It helps me improve the understanding of the puzzle and while I try to maintain the uniqueness of the puzzle, the applicable solving techniques become more evident. Hope you all enjoy as much as I did while creating it.

Rules of Classic Sudoku apply. Additionally, outside every row and column, the distance between two digits in that row or column is given. The order of the digits is top to bottom and left to right.