<awangdev>332. Reconstruct Itinerary_1.java
private Map<String, List<String>> buildMap(List<List<String>> tickets) {

        Map<String, List<String>> map = new HashMap<>();
        for (List<String> ticket : tickets) {
            map.putIfAbsent(ticket.get(0), new LinkedList<>());
            map.get(ticket.get(0)).add(ticket.get(1));
        }
        for (String key : map.keySet()) Collections.sort(map.get(key));
        return map;
    }
private Map < String , List < String >> var_2 ( List < List < String >> var_3 ) {
  Map < String , List < String >> var_6 = new HashMap < > ( ) ;
  for ( List < String > var_7 : var_3 ) {
    var_6 . putIfAbsent ( var_7 . get ( 0 ) , new LinkedList < > ( ) ) ;
    var_6 . get ( var_7 . get ( 0 ) ) . add ( var_7 . get ( 1 ) ) ;
  }
  for ( String var_15 : var_6 . keySet ( ) ) Collections . sort ( var_6 . get ( var_15 ) ) ;
  return var_6 ;
}
