Saroj Ghosh
293 posts


@pvitraw You found the real OG of Dynamic Programming, Aditya Verma 🐐
English

@shahhet78200197 C is classical DP question somewhat of bounded knapsack pattern.
D ko dp se nhi kar skte due to the input size , it needs some greedy approach , I tried for 50 min and finally gave up
English

@coolcoder56 Yesterday I solved a question of the exact same pattern The only condition was changed a bit !
English

@shahhet78200197 If you know recursion
You have internally used dfs , without even knowing
English

my morgan stanley interview experience:
round 1 started with my intro, then he went deep into my technical background, freelance work and all projects from my resume. explained each one properly.
then my recent freelance work in detail. after that he asked about my workflow of building apps with ai. i told him my spec driven approach... he was actually impressed
then opps question ... never seen that type before but i solved it properly with his hints in between.
dsa time (i was scared as hell). he asked if i'm comfortable with trees, i said no 😂 then he said okay lets do array strings. gave a sliding window problem i'd never done. still explained the approach, wrote half the code and he said "okay fine you'll complete it".
sql was basic join – easy for me.
at the end i asked him 3 questions. first one was how he uses ai... guess what, he follows the same approach as me. then asked about the role and company. ended with a good handshake.
sat for 1-2 hrs and then the round 2 name came.
round 2 was with a very senior guy, basically hr round.
he asked a probability question – wasn't able to solve it. 2 puzzles (solved 1). some general hr questions (those were horrible 😭). then a nice system design on streaming backend like netflix. few more hr questions and bye.
i literally came out thinking i fucked up a little.
waited 3-5 hrs... results came.
7 selected out of 27.
and your boy made it 🥹
interning for next 12 months at morgan stanley as technology apprenticeship 🔥
let’s gooo
English










