Taro Logo

Software Engineer Interview Experience - San Jose, California

December 1, 2011
Neutral ExperienceNo Offer

Process

The recruiter called to ask for my availability. They talked about this position's responsibilities and then told me to take a coding evaluation.

Questions

CODE (weight: 10%)

What is the output from this code (assume int is 32 bit)?

c int f(int n) { return n * f(n-1); }

print(f(100));

ALGORITHM (weight: 30%)

A small directory is hard-coded as an array in the code:

java String names[] = { "Elon Musk", "Ken Howery", "Luke Nosek", "Max Levchin", "Peter Thiel" };

A requirement is to be able to extend this directory dynamically at runtime, without persistent storage. The directory can eventually grow to hundreds or thousands of names and must be searchable by first or last name.

  1. What approach would you take? (Ans: HashMap)
  2. Write an implementation for the add and search methods in pseudo-code using data structures you have in mind.

SQL (weight: 10%)

Consider the table below:

sql table A ( id integer primary key, name varchar(20), age integer )

Write a query to return the list of unique names from table A.

CODING (weight: 50%)

The string "PAYPAL IS HIRING" is written in a zigzag pattern on a given number of rows like this (you may want to display this pattern in a fixed font for better legibility):

P A H N A P L S I I G Y I R

And then read line by line: "PAHNAPLSIIGYIR".

Write the code that will take a string and make this conversion given a number of rows:

java String convert(String text, int nRows);

convert("paypalishiring", 3) should return "pahnaplsiigyir".

Was this helpful?

Interview Statistics

The following metrics were computed from 42 interview experiences for the PayPal Software Engineer role in San Jose, California.

Success Rate

36%
Pass Rate

PayPal's interview process for their Software Engineer roles in San Jose, California is fairly selective, failing a large portion of engineers who go through it.

Experience Rating

Positive57%
Neutral21%
Negative21%

Candidates reported having very good feelings for PayPal's Software Engineer interview process in San Jose, California.

PayPal Work Experiences