Role : MTS-II
- Referral from a friend (filled more than 17 applications, span of 2 months) -> HR reached out.
Adobe R0 - Day 0
HR called - Intro, Tech, Why leave current company, What you do daily as a Software Enginneer, CTC, Notice Period(is it negotiable ?), YOE(= 3Yrs).
Adobe R1 (DS + Javascript) - Day 7 - with another MTS-II
- Count of subsets with sumk
- Discussed: Brute+DP, coded in C++
- Number of pairs with absolute difference as k
- Discussed: Hashing, coded in C++
- JS I/O question - event-loop, micro/macro queue.
Adobe R2 (DS + React) - Day 8 - with CS-II
- Given Full binary tree with A, B. Find sum of even nodes on path from A to B.
- Discussed: Difference in depths, move to parent using p -> (p - 1)/2, sum even value nodes till same.
- array, for each element find if it is almost prime(has exactly 3 divisors) n 1e5
- Discussed: observation based, sqrt(prime)..
- React code Typeahead + debouncing
Adobe R3 (JS + React + Machine-Coding + Pub/Sub Pattern) - Day 14 - with SSE
- Basic JS Questions
- Deboucing Vs Throttling.
- React Fibre, New Reconcilliation Algorithm
- Discussed: How batch updated happens, priority provision, interrupted provision, startTransition/useTransition.
- Implement adding books to book list from various places in App. Follow up: modify to do the same across multiple monorepos:
- Solution: coded in react and used context API.
- For later, coded EventBus with provision to subscribe and unsubscibe and emit: Pub/sub Pattern, discussed how Context API is Dependency Injection and Redux is Pub/Sub internally. Pub/Sub vs Observable Pattern.
- Behavioural: AI, daily use, one claude /skill if want to write what will you write.
Adobe R4 (Behavioural + Frontend System Design) - Day 15 - With EM
- Behavioural:- Intro + Past projects in organization, Production issue you faced.
- React System Design - Design a PDF search Box, that loops from one search word to another in entire PDF - again discussed Pub/Sub, context, Redux, Zustang, MobX.
😢 21 days of waiting and on call with HR(other candidates in Pipeline),Position closed, processed to other open position(had to give R4 again to that team Senior Manager.)
Adobe R5 (JS + DS + Behavioural) - Day 36 - With Senior EM
-
Behavioural: Tight Timeline, pressure from stakeholder to reduce dev time by half; even after using AI estimations.
- explained i can horizonatally scale(work smart/long hours) or vertically scale(pull more resources from team)
-
JS classes, Abstraction, playing with this keyword - tell atleast 5 ways to take control of this keyword.
- bind
- apply
- call
- this.drive = this.drive.bind(this) // in constuctor
- arrow function
-
DS: sorted array, find #occurrences of element x, have to write binary search from scratch, the lower_bound and upper_bound
-
Favorite DS: SegmentTree and Trie
-
Write TrieNode/Trie to add a word, question around save 26 size of children, used map,
-
DP is always optimial, I said no, took example of Fibonacci, finding nth fibonacci using DP is O(n) -> but using Matrix Exponentiation O(logn) - He seemed impressed :)
-
Extra 30 mins, discussing around life/Work(chill talk).
-
He said: See you soon, Bye!
Day 37,38,39(offer proposal, negotiation, offerletter)
Verdict: Selected 😀 - 30% Hike.