Jane Street quant interview problem | 105 pebbles

  Рет қаралды 526

QuantProf

QuantProf

Күн бұрын

Пікірлер: 8
@Quant_Prof
@Quant_Prof Ай бұрын
🎓 Ready to level up and gain a significant edge? Check out our course- Quant Interview Masterclass for an in-depth guide to mastering quant interviews (with LIFETIME ACCESS and 30 days FULL REFUND policy): payhip.com/b/heLaQ
@postselector
@postselector 23 күн бұрын
For the second problem -- is it that the "chessboard sums" must be equal? By chessboard sum I mean that, if you 2-color the board with white and black squares, the sum of the white squares must equal the sum of the black squares.
@Quant_Prof
@Quant_Prof 23 күн бұрын
yes
@vaibhavs2740
@vaibhavs2740 Ай бұрын
You didn't mention the difficulty of this one, it seemed easy to me. Is the condition for problem 2 "sum of all = even " ?
@Quant_Prof
@Quant_Prof Ай бұрын
I would say the difficulty of the first one is medium-hard and the second one is medium. Your condition is necessary but not sufficient. For example, consider the 1x2 grid 2,4. You cant make both of them zero simultaneously.
@YashDarak-z8w
@YashDarak-z8w Ай бұрын
Can this be an alternate solution? The only way to reach a stack of 1 pebble is by dividing a stack of 2 pebbles to get two stacks of 1 pebble. So we can think of the step before the last as dividing 52 stacks of 2 into 104 stacks of 1. Where does the last stack of 1 come from? There is no way to form it Hence not possible. Had we needed an even number of 1 pebble stacks, this solution wouldn't hold but with an odd number of 1s, it isn't possible no matter what configuration we have at the start.
@3tb5h6h
@3tb5h6h Ай бұрын
Incorrect solution, imagine 5 pebbles a stqck of 2 and then 3 the two will split into 1 1 then one can be added to 3 stack making it 4 then 4 can be split to 2 2 then 1 1 1 1 You are expecting all to split together thats not the case By your theory you would need two sets of 2 2 and one individual which cannot come
@YashDarak-z8w
@YashDarak-z8w Ай бұрын
@3tb5h6h Ooooo yeah you're correct. Thank you!!
Count subsets - Jane street interview problem
2:08
QuantProf
Рет қаралды 629
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Citadel quant interview problem | Direction Change II
2:53
QuantProf
Рет қаралды 2,8 М.
Odd Tosses Probability | Citadel Quant Interview Problem
2:57
QuantProf
Рет қаралды 1,1 М.
Optiver Quant Interview Problem | Jumping Frog IV
2:23
QuantProf
Рет қаралды 613
Jane Street Interview Problem | 3 Dice Minimum
2:19
QuantProf
Рет қаралды 790
SIG Quant Interview Problem | Missing Pairwise Product
1:58
Citadel Quant Interview Problem | Dice Game III
2:13
QuantProf
Рет қаралды 645
SIG quant interview problem with an IMPOSSIBLE follow-up
2:33
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН