Taro Logo

Software Engineer/Data Scientist Interview Experience

October 1, 2014
Neutral ExperienceNo Offer

Process

A recruiter reached out to me and said TripAdvisor would be interested in my profile and, in case things go well, would sponsor a working visa (I am not a US citizen).

I had a technical interview on Skype with a Technical Manager. He made me feel extremely comfortable during the whole call. He first asked me why I wanted to join the company, then wanted to know more about my previous job as a Data Scientist.

Theoretical question:

  • Hash Table and its complexity.

Practical questions (answered on a shared, real-time text editor):

  • Intersect two sorted arrays/lists.
  • Linked List + Fibonacci indexes.

For each solution, I was asked about its complexity.

Pro: It is possible to choose between many programming languages, such as Java, Python, JavaScript, etc.

Unfortunately, I kinda screwed up the Fibonacci question. Everything else was quite easy. Anyway, it's been 20 days since I was interviewed, and I haven't received any news from either the recruiter or the company.

Questions

// Given a singly linked list without values defined by:

class Node { Node next }

// Write a function that removes all elements from the list whose index is a Fibonacci number. // o -> o -> o -> o -> o -> o -> o -> o -> o -> o -> o -> o // 0 1 2 3 4 5 6 7 8 9 10 11 // x x x x x // becomes // o ----------------> o -------> o -> o -------> o -> o -> o // 0 4 6 7 9 10 11

Q1: Write a function to intersect two sorted lists (find common elements).

Write a method taking two lists as input and returning a new list.

You can assume you have a reasonable array/list class available (ArrayList, vector, Python list, etc.).

Ex:

l1 = [1,2,3,4,5]

l2 = [1,5,7,11,100]

result = [1,5]

Q2: Same as Q1, but now assume there can be duplicates. The output should not have duplicates.

Ex:

l1 = [1,2,3,4,5,5,5]

l2 = [1,5,7,11,100]

result = [1,5]

Was this helpful?

Interview Statistics

The following metrics were computed from 1 interview experience for the Tripadvisor Software Engineer/Data Scientist role in United States.

Success Rate

0%
Pass Rate

Tripadvisor's interview process for their Software Engineer/Data Scientist roles in the United States is extremely selective, failing the vast majority of engineers.

Experience Rating

Positive0%
Neutral100%
Negative0%

Candidates reported having mixed feelings for Tripadvisor's Software Engineer/Data Scientist interview process in United States.

Tripadvisor Work Experiences