Car sorting Problem

Can’t we do it by using pair vectors??

@ashwani225
hello Ashwani,
yeah you can use pairs,
the main motive behind this video was to teach u how to work with custom datatype in vector.