Hi guys in this video i've explained the problem Car Fleet in depth, We are solving this in O(NlogN) Time complexity and O(N) Space complexity, I hope you understand the concept and the code, if you encounter any problem feel free to reach me via comments or Instagram ( / anuragcodes ) .
Link to Comparator video : • Comparators in Java | Custom comparator | ...
#leetcodehindi #leetcodeindia