Collective Health interview experience - SSE

Position: Senior Software Engineer
Company: Collective Health
Location: San Fransico

Round 1: Telephonic - Coding
Onsite:
Round 0: Know about the company - You get to ask questions
Round 1: Coding - Laptop Provided
Round 2: System Design
Round 3-5: Productive Mgmt Interview / Hiring Manager Interview ( Primarily your experience good , bad, how you handled various situations …etc , softskills in nature)

  1. Twitter System Design
    Use: RDBMS design for databaseHow do determine the bottleneck in your system ?
    How do you fix the bottleneck ?
    System tools to identify various bottleneck?
    How do you test system for performance?
  2. Check if the equation is valid (Coding)
    a = b+(c -d ) ; // valid
    a = {b+ (c-d); // invalid
    { a = b + c + d) ;// invalid
  3. Timed Hash Map

Design a HashMap, where a key is associated to a Time.

map.put(‘pet’, ‘cat’); // at 2:00 PM
map.put(‘pet’,‘dog’) ; // at 4:00 PM

map.get(‘pet’, 1:00PM) ; // return null
map.get(‘pet’,2:00 PM) ; //return cat
map.get(‘pet’ , 3:45 PM) ; // return cat
map.get(‘pet’, 4:00 PM) ; // return dog