Cognitree | Interview Experience | SDE 2
Summary
Had two rounds of interviews for SDE 2 position at Cognitree. Round 1 was DSA with two problems. Round 2 focused on Java concepts, OOPS, SOLID principles, and DSA. Missed the hashset duplicate explana...
Interview Experience
Round 1 – DSAInsert IntervalProblem: Given a set of non-overlapping intervals, insert a new interval (merge if needed).K Most Frequent ElementsProblem: Return the k most frequent elements from an array.Round 2 – Java + OOPS + DSAJava ConceptsOOPS principles, SOLID principles discussion.HashSet dupli...


