Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
403 B
1
Indexable
Never
String[] airportCodesForCollision = {"LAD", "CAB", "FRW", "GBE", "MUB", "PKW"};
        
System.out.println("-----------------------------");
System.out.println("Airport Codes Collision Count ");

for (String airportCode: airportCodesForCollision) {
    int collisionCount = ht.collisions("LAD");
    System.out.println("Collision Count for code " + airportCode + " is " + collisionCount);    
}
Leave a Comment