This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sucesion7.js -> imprime la sucesión de los múltiplos de 7 en el rango [200-300] | |
| suma7.js -> imprime la sumatoria de los múltiplos de 7 en el rango [200-300] | |
| mult7.js -> imprime la multiplicatoria de los múltiplos de 7 en el rango [200-300] | |
| count7.js -> imprime el número de múltiplos de 7 en el rango [200-300] (¿cuantos?) | |
| fib.js -> imprime los 11 primeros elementos de la sucesión de Fibonacci | |
| triangulares.js -> imprime los 11 primeros números triangulares | |
| primos.js -> imprime los 11 primeros números primos | |
| majority1.js -> más de ⌊n/2⌋ veces, sin ordenar (fuerza bruta) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [0, 1, 2, 3, 4, 5, 6, 7, 8] position | |
| [9, 0, 6, 7, 2, 0, 6, 4, 1] originalData | |
| 8 | |
| [9, 0, 6, 7, 2, 0, 6, 4] | |
| [9, 0, 6, 7] [2, 0, 6, 4] | |
| [7, 6, 0, 9] [2, 0, 6, 4] newData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2part | |
| EXERCISES only | |
| first onGoogleDrive then onGithub | |
| //gro14 | |
| 15.1 queue() | |
| //mcm14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EXERCISES only | |
| onGoogleDrive | |
| //functions | |
| 24. final | |
| 23. max | |
| 22. min | |
| 21. perm(n,k) | |
| 20. factFn(n) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Design, write, and test each of the following classes | |
| Add properties and methods, and validate constructors as needed | |
| */ | |
| 3 | |
| /*Graph | |
| choose one kind of an implementation: matrix or linked-list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Design, write, and test each of the following classes | |
| Add properties and methods, and validate constructors as needed | |
| */ | |
| 7 | |
| /*List*/ | |
| --------- | |
| --------- | |
| class List { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Each js file must be autonomous, include everything it needs to run on a terminal/browser | |
| // classes, objects, functions, methods, algorithms, and useCase code showing results | |
| // | |
| // include comments to your code explaining if needed | |
| let arr = [2, 3, -4, 5, -6] | |
| function swap(i,m){ | |
| t=arr[i] | |
| arr[i]=arr[m] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EXERCISES only onGithub | |
| your portfolio name: 19ds | |
| IMPORTANT | |
| Each js file must be autonomous, include everything it needs to run on a terminal/browser; | |
| functions, methods, and useCase showing results | |
| #sorting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSTRUCTIONS | |
| This is an HTM+JS interactive example | |
| See 3p19poo gist for exercises |
NewerOlder