The family of giants you work for is throwing a fancy dinner party, and they all want to look their best. But there’s a problem – the elder giant’s favorite shirt is wrinkled! To fix it, you’ll need to power up… the Giant Iron.
La familia de gigantes para la que trabajas organizó una gran fiesta para la cena, y todos quieren verse lo mejor posible. Pero hay un problema: la camisa favorita del gigante mayor ¡está arrugada! Para arreglarla, necesitarás encender... la Plancha Gigante.
The iron needs two giant batteries to work. You just had 4 working ones and 4 dead ones in separate piles, but it looks like the baby giant mixed them all up. You need to get the iron working and press the giant shirt, fast – or you’ll end up being the main course tonight!
La plancha necesita dos baterías gigantes para funcionar. Solo tienes cuatro que funcionan y cuatro que no por separado, pero el bebé gigante las mezcló todas. Tienes que hacer que funcione y planchar la camisa gigante rápido o, ¡serás el plato principal esta noche!
How can you test the batteries so that you’re guaranteed to get a working pair in 7 tries or less?
¿Cómo puedes probar las pilas para asegurarte de tener un par que funcione en siete intentos o menos?
Pause the video now if you want to figure it out for yourself Answer in 3 Answer in 2 Answer in 1
Pausa el video ahora si quieres resolverlo por ti mismo Respuesta en 3 Respuesta en 2 Respuesta en 1
You could, of course, take all eight batteries and begin testing the 28 possible combinations. You might get lucky within the first few tries. But if you don’t, moving the giant batteries that many times will take way too long. You can’t rely on luck – you need to assume the worst possibility and plan accordingly.
Por supuesto, podrías agarrar las ocho baterías y probar las 28 combinaciones posibles. Quizás tengas suerte en las primeras pruebas. Pero si no, mover las pilas gigantes tantas veces te llevará mucho tiempo. No puedes confiar en la suerte, tienes que asumir la peor posibilidad y planear de acuerdo a ella.
However, you don’t actually need to test every possible combination. Remember – there are four good batteries in total, meaning that any pile of six you choose will have at least two good batteries in it. That doesn’t help you right away, since testing all six batteries could still take as many as 15 tries. But it does give you a clue to the solution – dividing the batteries into smaller subsets narrows down the possible results.
Sin embargo, en realidad no tienes que probar cada combinación posible. Recuerda, hay cuatro pilas en total que funcionan, lo que significa que cualquier pila de las seis que elijas tendrá al menos dos pilas que funcionan en ella. Eso no te ayuda mucho, ya que probar las seis pilas podría llevarte unos 15 intentos. Pero te da una pista sobre la solución. Dividir las pilas en subgrupos más pequeños disminuye los resultados.
So instead of six batteries, let’s take any three. This group has a total of three possible combinations. Since both batteries have to be working for the iron to power up, a single failure can’t tell you whether both batteries are dead, or just one. But if all three combinations fail, then you’ll know this group has either one good battery, or none at all. Now you can set those three aside and repeat the process for another three batteries. You might get a match, but if every combination fails again, you’ll know this set can have no more than one good battery. That would leave only two batteries untried. Since there are four good batteries in total and you’ve only accounted for two so far, both of these remaining ones must be good.
Entonces, en lugar de seis pilas, agarremos tres cualquiera. Este grupo tiene un total de tres combinaciones posibles. Como la plancha necesita de ambas pilas para encenderse, una falla no te dirá si ambas o una de las pilas no funciona. Pero si las tres combinaciones fallan, entonces sabrás que este grupo tiene una sola pila que funciona, o ninguna. Ahora podrás separar esas tres y repetir el proceso con otras tres pilas. Quizás obtengas alguna combinación buena, pero si todas fallan sabrás que este juego puede tener no más de una pila que funcione. Eso dejaría un total de dos pilas sin probar. Como hay un total de cuatro pilas que funcionan y solo pudiste comprobar que funcionan solo dos, las que quedan funcionarán.
Dividing the batteries into sets of 3, 3, and 2 is guaranteed to get a working result in 7 tries or less, no matter what order you test the piles in.
Dividir las pilas en grupos de tres, tres, y dos garantiza la obtención de un resultado positivo en siete intentos o menos, sin importar en qué orden pruebes las pilas.
With no time to spare, the iron comes to life, and you manage to get the shirt flawlessly ironed. The pleased elder and his family show up to the party dressed to the nines … well, almost.
Sin más tiempo que perder, la plancha se enciende, y logras tener la camisa planchada impecablemente. El gigante mayor y su familia aparecen complacidos en la fiesta vestidos de punta en blanco.