Taro Logo

Software Engineer Interview Experience - San Jose, California

November 1, 2011
Neutral ExperienceNo Offer

Process

I attended an online screening followed by two phone interviews.

The first one was in C++, even though my resume is for a Java Developer (with a little bit of C++). The next round was in Java.

Both interviews were coding-centric; there was no design, architecture, testing, or process discussion.

I was asked to code on CollabEdit.

Questions

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));

Consider the following function:

c int f (int num) { int out = 0;

for (; num > 0; num /= 10) {
	int d = num % 10;
	out *= 10;
	out += d;
}

return out;

}

  1. What does this function do?
  2. Write the same algorithm using recursion.

We have the following schema of a table:

sql create table Test (id number, name varchar2(32), desc varchar2(400)); create index index_test on Test (name);

Which of the following statements will invoke an index scan by Oracle execution plan?

a) select * from test where name='name'; b) select * from test where name like 'name%'; c) select * from test where name like '%name'; d) select * from test where name like '%name%';

The string "paypal is the faster, safer way to send money" is written in a clockwise spiral pattern inside a square starting from the upper left corner:

P A Y P A L F E R W A I A M O N Y S S D Y E T T R N E S O H E T S A F E

(You may want to display this pattern in a fixed font for better legibility.)

Then read line after line: PAYPALFERWAIAMONYSSDYETTRNESOHETSAFE

Write the code that will take a string, calculate the minimum square that will contain it, and return the converted string:

java String convert(String text);

convert("paypalisthefastersaferwaytosendmoney") should return "paypalferwaiamonyssdyettrnesohetsafe".

What is the output for grep 'c[oa]t' *.cpp | more in Unix?

Write a function to convert the string 'abcdabcdac' into 'a3b2c3d2'. Each character is followed by the number of times it occurs in the original string. What is the order of this function? How would you improve it?

Given table A with id, name, and age, write a query to display distinct pairs of people with the same name.

Why are indexes used?

There was a question based on Diamond inheritance hierarchy in C++.

What are static functions in C++?

What is the difference between a simple function, a virtual function, and a pure virtual function?

What are templates in C++?

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