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.
Çalıştığınız devlerin ailesi lüks bir akşam yemeği partisi veriyor ve en iyi şekilde görünmek istiyorlar. Ama bir problem var! En büyük devin en sevdiği gömleği buruşmuş! Düzeltmek için Dev Ütüyü çalıştırmanız gerek.
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!
Çalışması için iki dev bataryaya ihtiyaç var. 4 tane çalışan ve 4 tane çalışmayan batarya var, bebek dev çalışan batarya yığınını çalışmayanlarla karıştırdı. Hızlıca ütüyü çalıştırmanız ve gömleği ütülemeniz gerek yoksa bu gece ana yemek siz olacaksınız!
How can you test the batteries so that you’re guaranteed to get a working pair in 7 tries or less?
7 veya daha az denemede çalışan bir çift bataryayı nasıl bulacaksınız?
Pause the video now if you want to figure it out for yourself Answer in 3 Answer in 2 Answer in 1
Kendiniz çözmek isterseniz videoyu durdurun! 3 saniye 2 saniye 1 saniye!
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.
Sekiz bataryayı da alıp 28 kombinasyon ile test etmeye başlayabilirsiniz. İlk birkaç denemede şansınız yaver gidebilir. Ama gitmezse, bütün dev bataryaları denemek çok fazla zaman alır. Şansınıza güvenebilirsiniz fakat en kötü senaryoyu düşünüp düzgünce plan yapmanız gerekiyor.
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.
Ama her bir kombinasyonu denemenize gerek yok. Unutmayın; toplamda 4 tane çalışır batarya var. Demek oluyor ki, her altılı kümede en azından iki tane çalışır batarya olacak. Bu size hemen yardımcı olmaz çünkü altı bataryayı da denemek 15 tanesi kadar zaman kaybettirir. Ama çözüm için bir ipucu verir, bataryaları daha küçük alt kümelere bölerek sonuca yaklaşırsınız.
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.
Altı batarya yerine, herhangi 3 bataryayı alalım. Bu grubun, toplamda üç makul kombinasyonu var. Her iki bataryanın da ütüyü çalıştırması için çalışır olması gerektiğinden bir hata, her iki batarya mı yoksa sadece biri mi çalışmıyor söylemeyemez. Ama eğer üç kombinasyonda başarısız olursa o zaman bu grupta bir veya hiç çalışır batarya olmadığını bileceksiniz. Şimdi o üç bataryayı kenara koyalım ve süreci başka üç batarya ile devam ettirelim. Uyum yakalayabilirsiniz, fakat yine her kombinasyon başarısız olursa bu grupta birden fazla çalışır batarya olmadığını bileceksiniz. Bu da demek oluyor ki geriye denenmemiş iki batarya kaldı. Toplamda dört çalışır batarya olduğundan ve şimdiye kadar iki tanesini saydığınız için geriye kalan iki batarya da çalışır demektir.
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.
Bataryaları 3,3 ve 2 olacak şekilde gruplara ayırarak 7 veya daha az denemede, deneme sırası fark etmeksizin çalışan bataryaları bulursunuz.
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.
Zaman geçmeden, ütü çalıştı ve gömleği mükemmel bir şekilde ütülemeyi başardınız. En büyük devi memnun ettiniz ve ailesi partiye geldi . Neredeyse hepsi giyinikti.