Тёмный

Can You Solve This Microsoft Interview Question? Puzzles for Software Engineers Part 10 

GeeksforGeeks
Подписаться 817 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@GeeksforGeeksVideos
@GeeksforGeeksVideos 14 часов назад
Get 30% Off on GfG Courses. Use Code: GFGYT30 Visit gfgcdn.com/tu/Rm9/ to avail!
@Blue.star1
@Blue.star1 12 часов назад
such questions asked by all mncs for sw key pushers , its not talent
@tech-learner4555
@tech-learner4555 3 часа назад
That's great
@Poetrymation
@Poetrymation 14 часов назад
This interview Questions ❤
@MuhammadShavezMalik
@MuhammadShavezMalik 5 часов назад
Agar candies and sweets wale Jar me Dono hi nahi hue to....
@MdShahidAli-nu7rt
@MdShahidAli-nu7rt 13 часов назад
Girl of Apna college wali = This girl == gain more view 😂😂😂😂
@LovelyGlasses-il4th
@LovelyGlasses-il4th 10 часов назад
But kyu candies wale label mein mein bhi to sweets and candies ho sakta hai .. hai .. to direct kaise bol sakte hai ki candies wale jar mein sweets hi hoga ek baar check karna hoga ..
@anormalanimelover199
@anormalanimelover199 8 часов назад
I thought a minimum of 5 from each jar, cause if we think of candy+sweet to have at least 1% chance of a candy in a total 5 picks if others are sweets, taking the ratio of candy to sweets is 1:1.
@anormalanimelover199
@anormalanimelover199 8 часов назад
Even so the logic is flawed cause they didn't say the ratio in the question
@iAm_Rohit_Raj
@iAm_Rohit_Raj 4 часа назад
Agar candies waale label mei "sweets & candies" hai... fir sweets waale label mei actually "sweets" honge, which violates the question statement ki har label wrong jar par hai. Apply some common sense
@mrvivekprasadkushwaha
@mrvivekprasadkushwaha 4 часа назад
​@@iAm_Rohit_Raj But if we start with candy only then also we can find the correct order, is't it?
@iAm_Rohit_Raj
@iAm_Rohit_Raj 4 часа назад
@@mrvivekprasadkushwaha Yes you can... but it will take more than 1 try. If you start with candies jar... and there is sweet in it, how can you be sure it is sweet or sweet+candy?
@rishabbhagavan5727
@rishabbhagavan5727 13 часов назад
I would eat 6 out which
@HimanshuPawar-pf9mm
@HimanshuPawar-pf9mm 13 часов назад
Hamare exam me aese questions kyu nhi puchte
@shreeyanshbandal8214
@shreeyanshbandal8214 9 часов назад
Instead of wrong Names you should say jar Names are misplaced 😶
@8BitGamerYT1
@8BitGamerYT1 Час назад
You had a mistake in one of the earlier hair problem. please check again. THis one i solved correctly
@Muralidhar53D
@Muralidhar53D 9 часов назад
1
@smoothperson-wu8fm
@smoothperson-wu8fm 13 часов назад
I don't think it's right
@nevilvataliya7324
@nevilvataliya7324 12 часов назад
Wrong! (Agar candies and sweet lable Wale mei sirf candy h, to candy lable wale mei bhi candy&sweet ho sakti h ya fir sweet lable wale mei bhi sweet&candy ho sakti h) May be this is ryt:(agar hum jar ko select kar ke dekh sakte h to) Sweet wala uthao, usme ya to candy milegi, ya to candy&sweet dono milega. Agar sirf candy mili, to candy&sweet lable vala jar sirf sweet ka h, aur candy candy&sweet ka. Aur Agar candy&sweet mili to, candy&sweet lebel wala jar sirf candy ka h, aur candy vala jar sweet ka h.
@giriraj_parik
@giriraj_parik 11 часов назад
You are wrong, Candy wale me [candies and sweet] ho hi nahi sakti, agar hui (tumhare hisab se) iska matlab to sweets wale me sweets hi hogi, lekin question me kaha hai ki sare labels galat hai
@nevilvataliya7324
@nevilvataliya7324 11 часов назад
@@giriraj_parik bhai sayad tumne dhang se nai padha, fir se padho! Candy lable wale mei [candy&sweet] hogi to candy&sweet lable wale mei sirf [sweet] hogi & sweet lable wale mei sirf [candy] hogi
@giriraj_parik
@giriraj_parik 10 часов назад
​@@nevilvataliya7324 ok Let me try it once Consider C&S, C, S be the labels for the respective jars insted to full name to avoid confusion with items present, and items present are denoted by [item_name] Firstly we will pick Jar labeled C&S : Note that since all labels are wrong it will obviously not contain [Both candies and sweet] We will pick one item from it : If it is a Candy: - It means the C&S labeled jar contains only [Candies] - Now two Jar remains one labeled S and other one as C, and items remaining are [candies & sweets] and [only sweets]. - Now S will obviously not contain [only sweets] since all labels are wrong, which leave us to only one conclusion that S labeled jar will contain [candies and sweets] - Therefore C labeled jar will contain [only sweets]
@Mitochondria312
@Mitochondria312 13 часов назад
Me toh apko pick karta hu
@Mmeelltt-o6x
@Mmeelltt-o6x 11 часов назад
😂😂😂
@NotinFrame
@NotinFrame 14 часов назад
You can pick any jar and the explanation you gave will still be valid
Далее
Career Advice For A World After AI
23:07
Просмотров 352 тыс.
Viral Video of a Man's Crazy Job Interview
16:02
Просмотров 1,5 млн
LeetCode was HARD until I Learned these 15 Patterns
13:00
I Asked Microsoft Software Engineers How To Get Hired
10:34
One of the Greatest Speeches Ever | Steve Jobs
10:31
Free tomatoes spark conversation on dark patterns
6:09