Skill Turtle’s Post

𝐂𝐨𝐮𝐥𝐝 𝐲𝐨𝐮 𝐬𝐩𝐨𝐭 𝐭𝐡𝐞 𝐞𝐫𝐫𝐨𝐫 𝐢𝐧𝐬𝐭𝐚𝐧𝐭𝐥𝐲 𝐟𝐨𝐫 𝐭𝐡𝐢𝐬 𝐬𝐢𝐦𝐩𝐥𝐞 𝐬𝐜𝐞𝐧𝐚𝐫𝐢𝐨? Logical thinking is the building block of any good software developer.If you can't wrap your brain around this instantly, you’re one of many. It’s exactly the kind of invisible "𝐥𝐨𝐠𝐢𝐜 𝐛𝐮𝐠" that can break an entire system, regardless of how clean the syntax looks. This famous missing-dollar riddle isn't about the 𝐦𝐚𝐭𝐡, it's about 𝐫𝐞𝐚𝐬𝐨𝐧𝐢𝐧𝐠 𝐭𝐡𝐫𝐨𝐮𝐠𝐡 𝐚 𝐩𝐫𝐨𝐜𝐞𝐬𝐬 𝐟𝐫𝐨𝐦 𝐬𝐜𝐫𝐚𝐭𝐜𝐡. Start your logic-building journey with 𝐜𝐥𝐚𝐫𝐢𝐭𝐲 and 𝐟𝐨𝐜𝐮𝐬, and placements will be a 𝐛𝐲𝐩𝐫𝐨𝐝𝐮𝐜𝐭. Join the last Skill Turtle cohort of this year : https://lnkd.in/g7bipega #SoftwareEngineering #ProblemSolving #SkillTurtle #PlacementPrep #BrainTeaser #ProgrammingLife #TechCareer #LogicChallenge

  • No alternative text description for this image

The bug point is actually the Bellboy who actually took that $2. So the actual calculation is, 3 × $9 - $2 = $25 So, the manager is having that $25. And the 3 friends paid $9 each which sums up $27 from which Bellboy kept $2. So finally, $25 + $2 + 3 × $1 = $30

To view or add a comment, sign in

Explore content categories