ch
Feedback
Leetcode with dani

Leetcode with dani

前往频道在 Telegram

Join us and let's tackle leet code questions together: improve your problem-solving skills Preparing for coding interviews learning new algorithms and data structures connect with other coding enthusiasts

显示更多
1 258
订阅者
无数据24 小时
+27
-330
帖子存档
check it betam ds yelal

🧠 The Green-Eyed Prisoners Puzzle 100 people, all perfect logicians, are imprisoned on an island by a dictator. Each prisoner has either green or non-green eyes, but no one knows their own eye color. Rules: Any prisoner may ask to leave at night. If their eyes are green, they are freed. If not, they are executed. No one ever guesses. Prisoners cannot communicate. There are no mirrors or reflections. Every morning, they see each other during a head count. In reality, all 100 prisoners have green eyes. You are allowed to make one statement, spoken to everyone at the same time, without giving new information. what should u tell them to make them free ? You say: “At least one of you has green eyes.” Nothing seems to change. But on the 100th night, all prisoners ask to leave and are freed. ❓ Why does this happen? ❓ Why do they all leave on the same night?

photo content

photo content

😭
😭

AnimatedSticker.tgs0.21 KB

-2147483648_-211399.webp0.16 KB

Happy new year 🎊🎊

A man with 0 hairs is bald. Adding 1 hair doesn't stop him from being bald. Repeat this forever. You must conclude a man with a full head of hair is still bald. This shows the problem of vague categories like "bald"—there's no clear line, but the difference is real.

Do u know about the bald man paradox ? Bezu gize asbw nbr Abt the idea

Repost from 「 Eyu core 」
photo content

I want to dance but they will confuse me with mj 😁

photo content

photo content

😂😂😂

Repost from 「 Eyu core 」
photo content

😂😂😂😂

G6 1st year closing ceremony 🥳
G6 1st year closing ceremony 🥳

Leetcode with dani - Telegram 频道 @leetcodeq 的统计与分析