100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

Logic Puzzles with Answers

Constraints in, one answer out. Weighings, river crossings, probability traps and deduction problems, each with a full worked explanation of the technique rather than just the solution.

50 riddles · all with hints and worked answers

  1. 01

    A server room has one bulb inside and three switches outside. Exactly one switch controls the bulb. The door is closed, and you may open it only once. How do you identify the right switch?

    Medium2 hints
  2. 02

    You have two lengths of fuse. Each burns for exactly one hour end to end, but neither burns evenly — half a fuse does not mean half an hour. With only a lighter, measure exactly forty-five minutes.

    Hard2 hints
  3. 03

    Eight identical servers sit in a rack. One has a faulty fan and runs measurably hotter; the rest are identical. You have a balance scale that compares the total heat of any two groups. Find the faulty one in two weighings.

    Medium2 hints
  4. 04

    Two doors, one to the exit and one to a locked room. Two guards, one who always tells the truth and one who always lies — and you cannot tell which is which. You may ask one guard one question. What do you ask?

    Medium2 hints
  5. 05

    Three students stand in a line facing forward, each wearing a cap that is either black or white. The one at the back sees both caps ahead; the middle sees one; the front sees none. They are told at least one cap is white. The back student says nothing. The middle student then names her own colour correctly. What is it, and how did she know?

    Hard2 hints
  6. 06

    One build in a batch of one thousand is corrupted. You have ten test machines. A machine given any set of builds reports, after one hour, whether the corrupted build was among them — but is then unusable. Find the bad build in a single hour.

    Hard2 hints
  7. 07

    Four students must cross a dark footbridge that holds only two at a time, sharing one torch that must travel with every crossing. They walk at 1, 2, 5 and 10 minutes; a pair moves at the slower speed. Everyone is across in 17 minutes. How?

    Hard2 hints
  8. 08

    Three boxes hold cables: one all HDMI, one all USB, one mixed. Every label is wrong. You may draw one cable, without looking, from one box. Can you relabel all three correctly?

    Medium2 hints
  9. 09

    You have two identical phones and a hundred-floor tower, and you want the highest floor a phone survives being dropped from. Broken phones are gone for good. What strategy guarantees the answer in the fewest worst-case drops?

    Hard2 hints
  10. 10

    A lecturer tells a class of thirty that it is more likely than not two of them share a birthday. The students object — thirty is nowhere near 365. Who is right, and why?

    Medium2 hints
  11. 11

    Nine laptops look identical; one is slightly heavier. With a balance scale, find it in two weighings.

    Easy2 hints
  12. 12

    Twelve components, one defective — but you are not told whether it is heavier or lighter. Three weighings on a balance. Find it, and say which it is.

    Hard2 hints
  13. 13

    You have a five-litre jug and a three-litre jug, neither marked. Measure exactly four litres.

    Medium2 hints
  14. 14

    A technician must ferry a laptop, a magnet and a backup drive across a river. The boat holds her and one item. The magnet ruins the laptop if left with it; the laptop is fine but the magnet wipes the drive if those two are alone. How does everything cross intact?

    Medium2 hints
  15. 15

    A hundred lockers, all shut. A hundred students file past. The first flips every locker, the second every second one, the third every third, and so on. Which lockers end open?

    Hard2 hints
  16. 16

    Two trains, 200 km apart, approach each other at 50 km/h each. A bird flies at 80 km/h from one to the other, turning instantly each time they meet, until the trains collide. How far does the bird fly?

    Medium2 hints
  17. 17

    Three doors, one prize. You pick one. The host, who knows where the prize is, opens a different door revealing nothing, then offers you the swap. Take it?

    Hard2 hints
  18. 18

    A colleague has two children. You know at least one is a girl. What is the chance both are girls?

    Hard2 hints
  19. 19

    A textbook and a highlighter cost ₹1,100 together. The textbook costs ₹1,000 more than the highlighter. What does the highlighter cost?

    Easy2 hints
  20. 20

    Algae on a lake doubles in area every day and covers the whole lake on day 48. On which day is the lake half covered?

    Easy2 hints
  21. 21

    Five servers process five jobs in five minutes. How long do a hundred servers take to process a hundred jobs?

    Easy2 hints
  22. 22

    Ten bottles of identical tablets; one bottle's tablets each weigh a gram more. You have a digital scale and may use it exactly once. Which bottle?

    Medium2 hints
  23. 23

    A hundred people are held separately and taken to a room with one lamp in random order, indefinitely often. They may agree a strategy beforehand and never communicate again. How can one of them eventually be certain everyone has visited?

    Hard2 hints
  24. 24

    In a dark room are twenty coins, exactly five showing heads. You may move and flip coins but never see them. Split them into two groups with equal numbers of heads.

    Hard2 hints
  25. 25

    Four people stand in a line facing forward, a wall between the third and fourth. Two black hats, two white. The one behind the wall sees nobody; the front person sees nobody; the others see everyone ahead of them. Who speaks first, and why?

    Medium2 hints
  26. 26

    Three students pay ₹300 for a room, ₹100 each. The manager realises it costs ₹250 and sends ₹50 back; the porter pockets ₹20 and returns ₹10. So each paid ₹90, totalling ₹270, plus the porter's ₹20 is ₹290. Where is the missing ₹10?

    Medium2 hints
  27. 27

    Between noon and midnight, how many times do a clock's hour and minute hands overlap exactly?

    Medium2 hints
  28. 28

    Ten people meet and everyone shakes everyone else's hand exactly once. How many handshakes?

    Easy2 hints
  29. 29

    Remove two opposite corner squares from a chessboard. Can the remaining 62 squares be tiled with 31 dominoes, each covering two adjacent squares?

    Hard2 hints
  30. 30

    Two fuses, each burning for exactly one hour end to end, both unevenly. Measure fifteen minutes.

    Medium2 hints
  31. 31

    On an island, everyone knows everyone else's eye colour but never their own, and anyone who deduces theirs must leave that night. A visitor says aloud: "At least one of you has blue eyes." If exactly five do, what happens?

    Hard2 hints
  32. 32

    A drawer holds black and blue socks in the dark. How many must you take to be certain of a matching pair?

    Easy2 hints
  33. 33

    A spoonful of milk is stirred into a cup of tea, then a spoonful of that mixture is returned to the milk. Is there more milk in the tea, or tea in the milk?

    Hard2 hints
  34. 34

    The product of three children's ages is 36 and their sum is the number on the door opposite. The visitor says that is not enough. The parent adds, "the eldest plays chess." Now it is solvable. What are the ages?

    Hard2 hints
  35. 35

    Twenty-five candidates, five interview rooms, no timing — each round only ranks the five in it. How many rounds to find the top three overall?

    Hard2 hints
  36. 36

    Two candles of different thickness both burn for exactly four hours, unevenly. Using only these, measure three hours.

    Medium2 hints
  37. 37

    One of a thousand bottles is contaminated, and a test takes a full day to show. You have ten test strips and one day. Find it.

    Hard2 hints
  38. 38

    Three colleagues: one always truthful, one always lying, one answering at random. You may ask three yes/no questions, each to one person, to identify all three. Where do you start?

    Hard2 hints
  39. 39

    Two people, one cake, no trust and no ruler. How do you divide it so neither can complain?

    Easy2 hints
  40. 40

    Five ranked colleagues split a hundred units of budget. The most senior proposes a split; if at least half agree it stands, otherwise they are removed and the next proposes. Everyone is perfectly rational and prefers more. What does the most senior propose?

    Hard2 hints
  41. 41

    Everyone in a large group picks a number from 0 to 100. The winner is whoever is closest to two-thirds of the group average. What do you pick?

    Hard2 hints
  42. 42

    Two envelopes; one holds twice the other. You open one and find ₹1,000. Switching seems to offer an expected ₹1,250, which suggests you should always switch — even before opening. What is wrong?

    Hard2 hints
  43. 43

    Twelve identical-looking batches, one entirely counterfeit and lighter per unit. A digital scale, one weighing. Which batch?

    Medium2 hints
  44. 44

    A vehicle carries fuel for 500 km but must cross 800 km of desert. Fuel may be cached along the way, and only this vehicle exists. Can it cross?

    Hard2 hints
  45. 45

    A machine in a sealed room is controlled by one of four switches outside. You may enter once. Identify the switch.

    Hard2 hints
  46. 46

    Every student in a lecture theatre reports that their row is more crowded than average. All of them are telling the truth. How?

    Hard2 hints
  47. 47

    A number is doubled, increased by ten, halved, and the original number subtracted. What is left?

    Easy2 hints
  48. 48

    A test for a condition affecting 1 in 1,000 people is 99% accurate. You test positive. What is the chance you have it?

    Hard2 hints
  49. 49

    You reach a fork. One road leads home, one does not. A local stands there who either always lies or always tells the truth, and you cannot tell which. One question.

    Medium2 hints
  50. 50

    You must pay a contractor one link of a seven-link chain each day for a week, settling daily. What is the fewest links you may cut?

    Hard2 hints

About logic & deduction riddles

How do you solve logic puzzles systematically?

Write down every constraint explicitly, look for the one that eliminates the most possibilities, and check your answer against all constraints before committing. Most wrong answers satisfy some of the conditions and not all of them.

Are logic puzzles useful for aptitude tests?

Yes — campus and graduate aptitude papers draw heavily on the same families: weighings, work rates, relative motion and conditional probability. Recognising the family is most of the speed.

Frequently Asked Questions

21 categories · pick one to explore

What is SkillVeris?
SkillVeris is a completely free tech-upskilling platform offering 37 live courses across AI/ML, programming, web development, DevOps, cloud, security and databases. It combines structured courses of 24–40 lessons, a 24/7 AI Mentor, and a unique Learn Through Hobbies method that explains technical concepts through cricket, music, gaming, cooking and more. It is powered by Sri Hayavadhana.
Is SkillVeris really a free learning platform?
Yes, SkillVeris is genuinely free. Every course, assessment, certificate, study note, cheat sheet and the AI Mentor are available at no cost. There are no hidden paywalls, trial periods or premium tiers locking away lessons. The platform was built to make quality tech education accessible to learners in India and worldwide without financial barriers.
Who is SkillVeris for?
SkillVeris is for anyone learning technology skills: complete beginners starting to code, students preparing for placements, working professionals switching into AI, DevOps or cloud roles, and hobbyists exploring new tools. Courses span beginner to advanced levels, and the Learn Through Hobbies method makes complex topics approachable even if you have no technical background at all.
What makes SkillVeris different from other online learning platforms?
SkillVeris stands out with its Learn Through Hobbies method, which teaches every concept through analogies from cricket, music, gaming, cooking and eight more domains you can switch instantly. Add a free 24/7 AI Mentor, structured courses of 24–40 lessons with certificates, Code Lab for in-browser practice, and a live jobs portal, all completely free of charge.
What can I learn on SkillVeris?
You can learn AI and machine learning, Python, programming fundamentals, web development, DevOps, cloud computing, security and databases through 37 live courses. Beyond courses, SkillVeris offers study notes, cheat sheets, a glossary of roughly 2,000+ terms, 500+ blog articles, interview questions with readiness scoring, and Code Lab supporting six programming languages.
Does SkillVeris offer personalized learning?
Yes, personalization is central to SkillVeris. You choose the analogy domain that matches your interests, cricket, gaming, music, cooking and more, and lessons instantly adapt their explanations. The AI Mentor answers your questions at Quick, Detailed or Deep-dive depth, and learning paths guide you toward specific careers like AI Engineer or DevOps Engineer.
Do I need any prior experience to start learning on SkillVeris?
No prior experience is needed. Many SkillVeris courses are designed for absolute beginners, starting from fundamentals and building up gradually across 35 structured lessons. The Learn Through Hobbies analogies explain technical ideas using everyday interests, so newcomers grasp concepts faster. Intermediate and advanced courses are also available when you are ready to progress.
How do I get started with SkillVeris?
Simply visit skillveris.com, create a free account, and pick a course from the Topics page or follow a learning path like AI Engineer or Full Stack Java Developer. Choose your favourite analogy domain, work through the lessons, pass the module assessments and final exam, and earn your certificate, all without paying anything.
Is SkillVeris available in India?
Yes, SkillVeris is fully available in India and is built with Indian learners strongly in mind. All 37 courses, certificates and tools are free, and the jobs portal aggregates live roles across India alongside the UK, USA, Germany and remote positions, with salary and experience filters to help you find relevant opportunities.
Can I use SkillVeris on my mobile phone?
Yes, SkillVeris works in any modern mobile browser, so you can read lessons, switch analogy domains, ask the AI Mentor questions and take assessments from your phone. The platform is designed to load fast on mobile connections, making it practical to learn during commutes or short breaks without needing a laptop.
What is the Learn Through Hobbies method on SkillVeris?
Learn Through Hobbies is SkillVeris's signature teaching approach: every key concept is explained through analogies drawn from twelve domains including cricket, music, gaming, cooking, fitness, travel and finance. You pick the domain you love and can switch instantly, so abstract topics like machine learning pipelines feel familiar rather than intimidating.
Does SkillVeris have an AI tutor?
Yes, SkillVeris includes a built-in AI Mentor available 24/7. You can ask it any question about your lessons or technology in general and choose the depth of the answer: Quick for a fast summary, Detailed for a fuller explanation, or Deep-dive for a thorough walkthrough. It is free for every learner.
Does SkillVeris help with job hunting?
Yes, SkillVeris has a jobs portal aggregating live roles across India, the UK, USA, Germany and remote positions, with salary and experience filters. Combined with interview questions featuring readiness scoring, career-focused learning paths and free certificates you can share, the platform supports your job search from skill-building through to applications.
What learning paths does SkillVeris offer?
SkillVeris offers career-oriented learning paths such as AI Engineer, DevOps Engineer and Full Stack Java Developer, among others. Each path sequences relevant courses in a logical order so you build skills progressively toward a specific role, rather than guessing which course to take next. All path courses are free and include certificates.
How much time do I need to complete a SkillVeris course?
It depends on your pace. Structured courses contain 24–40 lessons (most have 35) plus module assessments and a final exam, and each lesson typically takes around half an hour of focused reading and practice. Many learners finish a course in a few weeks studying part-time, while dedicated full-time learners can move considerably faster.
Can I practice coding on SkillVeris?
Yes, SkillVeris includes Code Lab, an in-browser coding environment supporting six programming languages across 15 practice categories. You can write and run code directly in your browser without installing anything, which makes it easy to reinforce what you learn in lessons immediately. Code Lab is free, like everything else on the platform.
Does SkillVeris have free study materials besides courses?
Yes, alongside courses SkillVeris offers free study notes, cheat sheets for quick revision, a glossary of roughly 2,000+ technical terms, more than 500 blog articles, and interview questions with readiness scoring. These resources complement the courses and are handy for exam preparation, interviews and quick refreshers, all at no cost.
Who powers SkillVeris?
SkillVeris is powered by Sri Hayavadhana. The platform's mission is to make high-quality technology education free and genuinely engaging, combining structured courses, an always-available AI Mentor and the Learn Through Hobbies analogy method so learners in India and around the world can upskill without cost being a barrier.
Is SkillVeris suitable for working professionals switching careers?
Yes, career switchers can follow structured learning paths like AI Engineer or DevOps Engineer, study flexibly around work using mobile-friendly lessons, and validate their progress through assessments and certificates. The jobs portal with salary and experience filters, plus interview questions with readiness scoring, helps professionals move into new tech roles confidently.
How is SkillVeris free, is there a catch?
There is no catch. SkillVeris does not charge for courses, certificates, the AI Mentor, Code Lab or any learning resource, and there are no trial expirations or locked premium content. The platform exists to make tech education accessible, particularly for learners in India and other regions where paid platforms are often out of reach.

What Learners Say

Real journeys from the SkillVeris community — swipe for more.

SkillVeris taught me Python through Cricket. Now I’m building real projects and feeling confident!
Arjun S. · B.Tech Student
The best platform for hobby-based learning. Concepts finally stick.
Priya R. · Data Analyst
I went from zero coding to a portfolio of projects — all by learning through my love for gaming. Landed my first internship!
Kabir M. · CS Undergraduate
Trending Topics50 popular tags — tap to explore
Trending CoursesAll 37 free courses — tap to browse