You have a sorted integer array of 50 elements {1,2,3……, 50} Please divide this array into 5 smaller arrays of 10 elements each. Divide the large array into smaller arrays in a completely randomized way. No element should be missed or duplicated. For you help, there is a utility method int r = Random(lowerRange, upperRange) <= it can generate duplicates
Aucun commentaire:
Enregistrer un commentaire