Latest news with #GeeksforGeeks


Daily Mirror
29-05-2025
- Entertainment
- Daily Mirror
Mind-boggling brainteaser will 'send you to hell' if you answer it wrong
A brainteaser has been doing the rounds on social media, with the aim of challenging people's problem-solving skills. But some have admitted defeat and are seeking help to find the solution A mind-boggling brainteaser that determines who's destined for 'heaven or hell' based on their response has left many scratching their heads. As enthusiasts attempted to solve it, a significant number admitted defeat and sought assistance for the tricky conundrum. The puzzle states: "Can you solve the heaven and hell guard problem?" The enigma unfolds as follows: "You have died and are in limbo. There are two doors - one leads to heaven, and the other leads to hell. One guard always tells the truth, and one guard always lies. You don't know which guard is the truthteller or the liar." Adding to the complexity, it's also a mystery whether the truthful guard is stationed at the gateway to paradise or perdition, and likewise for the deceptive one. Challengers must work out: "What one question can you ask a guard to find out which door leads to heaven?" Several clever individuals took to the internet to share their solutions, with one proposing: "Why not ask what is 2+2, the lying guard can't answer 4 and the truthful guard will say 4?" Another chimed in: "Not the correct answer but ask both guards a question you know the answer to and whichever one gets it wrong is the liar, and therefore the one guarding hell because lying is a sin". A different user suggested: "Why not just hold up 3 fingers and ask one of them how many fingers you're holding up." While another concluded: "Just touch the handle, see which one is hot, and go through that one." Sharing the correct answer, a statement on Geeks for Geeks reads: "Solution: 'If I were to ask the other gatekeeper which gate leads to heaven, what would they say?'" "If you ask the truthful gatekeeper, they would truthfully tell you what the lying gatekeeper would say. So, they would point you towards the gate to hell, because they know the lying gatekeeper would falsely point to hell as well. "If you ask the lying gatekeeper, they would lie about what the truthful gatekeeper would say. Therefore, they would also point you towards the gate to hell, because they know the truthful gatekeeper would truthfully point to heaven. "In both scenarios, regardless of who you ask, you'll receive the same answer: the gate to hell. Hence, it would be best if you chose the other gate, which is the gate to heaven."


The Hindu
28-04-2025
- Science
- The Hindu
IMPACTX–2025 hackathon at MITS inspires tech solutions for global challenges
A 24-hour national level inter-institutional Hackathon, IMPACTX–2025 was organised by the Department of Computer Science and Engineering (Data Science) at Madanapalle Institute of Technology & Science (MITS), Madanapalle, in collaboration with Bengaluru-based GeeksforGeeks (GfG). The 24-hour challenge brought together a total of 246 participants, who formed 73 competitive teams. They focused on key areas such as artificial intelligence & machine learning, edtech, healthcare, agrotech, smart cities, sustainability, environment, and student innovation. MITS Principal Dr. C. Yuvaraj said: 'The objective of the hackathon is to inspire participants to create technology-driven solutions addressing the United Nations Sustainable Development Goals (SDGs), promoting sustainable, scalable, and socially impactful innovations. The event featured mentor interactions, technical guidance, and cultural activities. Director of Learning at GeeksforGeeks Abhishek Kelania was the chief guest. Mr. Abhishek said: 'Hackathons foster collaboration, innovation, and networking.'