Got contacted by HR on LinkedIn. Didn't have a call with her, just a few questions over email.
Standard questions with a bit of a difference. Prepare well for recently asked questions; LinkedIn repeats questions in telephonic interviews.
public interface Triangle {
/**
* Three segments of lengths A, B, C form a triangle if and only if:
*
* A + B > C
* B + C > A
* A + C > B
*
* Examples:
* 6, 4, 5 can form a triangle.
* 10, 2, 7 can't.
*
* Given a list of segment lengths, the algorithm should find at least one triplet
* of segments that form a triangle (if any).
*
* The method should return an array of either:
* - 3 elements: segments that form a triangle (i.e., satisfy the conditions above).
* - An empty array if there are no such segments.
*/
int[] getTriangleSides(int[] segments);
}
The following metrics were computed from 285 interview experiences for the LinkedIn Software Engineer role in United States.
LinkedIn's interview process for their Software Engineer roles in the United States is very selective, failing most engineers who go through it.
Candidates reported having good feelings for LinkedIn's Software Engineer interview process in United States.