- Notifications
You must be signed in to change notification settings - Fork6.7k
[MAD PP] Pablo García & Luna Fidalgo#283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
LunaFidalgo commentedMar 20, 2018
- Hemos completado todo hasta el bonus.
- Dificultad: media. En la función que más problemas hemos tenido ha sido en: uniquifyArray. Lo probamos de mil maneras diferentes (con forEach, dos bucles for...), hasta que al final, pedimos ayuda y nos guiaron un poco (la clave fue tener un nuevo array frente al que comparábamos).
// la palabra que está buscando no está ya en el array | ||
// por lo que hay que copiarla | ||
array.push(arrUni[i]); | ||
}else{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Puedes dejarlo vacío, si poner el else.
]; | ||
function doesWordExist(arrWord, word) { | ||
var b = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Esta bien empleada esa variable de control, esta metodología os será útil en el futuro.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Excelente trabajo. Enhorabuena a los dos.
#closed #checked #√ictor Buen PP. Os he visto muy atentos y despiertos. Estáis trabajando duro. Es bueno pelearse con los problemas, pues nuestro cerebro es plástico y vamos acostumbrándolo a este particular modo de pensar. Well done! |