
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
este es un deber de estructura de datos
Typology: Cheat Sheet
1 / 1
This page cannot be seen from the preview
Don't miss anything!

g
id < > cargarNumerosAleatorios() { > num new ArrayList<>(); random = new Random(); @; i < 100; i++ -add(r. -nextInt (1000) ); return encontrarMaximo( > lista) { return > lista) { main( args) { > num = cargarNumerosAleatorios(); -printin("“Ndmeros generados: “ + numeros); -println("Ndmero maéximo: “ + encontrarMaximo(nu _println("Ndmero minimo: " + encontrarMinimo(nu 708, 996, 551, 354, 183, 732, B44, 990, 438, 629, 293, B64, 738, 779, 668, 422, 640, 857, 98, 54D, 823, 530, 742, 888, 755, 122, 762, 78, 210, 714, 86, 839, 424, 43, 70, 216, 80 8, 724, 232, $12, 602, 153, 150, 978, 164, 882, 417, 882, 743, 814, 95, G64, 218, 258, 267, 828, S14, 267, 294, 638, 428, 227, 858, 699, 672, 698, 139, 959, 363, 733, 599, 572, 620, 652, 935, 973, 867, 778, 5B, 321, 614, 733, 527, 427, 1, 913, 897, 704, 299, 364, 978, 322, 679, 304, 270, 577, 633] 4