Interviewing for a full stack position, i believe IE2 or IE3. They choose post on-site, apparently.
Karat interview is one hour with a Karat employee.
Tell me about your current role at [Company]? (5 mins)
Tell me about a project you worked on? (10min)
Technical Question 1
Prompt: Given an array of arrays, where each array contains two numbers - the first number being a parent and the second number being a child of a tree - return an array of arrays where the 0ith element is an array of all nodes with no parents (roots), and the 1st element is an array of all nodes with 3 parents.
signature getRootAndNodesWithThreeParents(arrayOfRelationships)
Technical Question 2
Prompt: Given an array of arrays, where each array contains two numbers - the first number being a parent and the second number being a child of a tree -, and two nodes - node1 and node2 - return an array of all common anscestors.