PayPal visited our campus, hiring for SDE 1 role. Students with no stranding arrears and cgpa of 8.5 and above were asked to apply. I applied for the drive, and after a week I got the email that I was shortlisted and that I have to attend the Online Assessment.

**Round 1:- PayPal Online Assessment**

It was conducted on HacketEarth and was a 2 hour long test. There were 2 coding questions, one of them was an easy one, while the other was comparatively hard.

**1.Given a n*m chessboard and each non-empty cell contains either of the three pieces B, R and Q. B can move diagonally, R can move horizontally or vertically, Q can move in any direction in which B and R can move. Find the total number of valid chess moves possible.**

**2.Given a string with lowercase letters and “?” where each “?” can be replaced by any lowercase character, find the total number of strings such that the first and last characters are the same and no adjacent characters are the same.**

I had to solve this question using dynamic programming.

**Round 2: PayPal Technical Interview 1**

After the online assessment round 31 students were shortlisted. The shortlisted students had to appear for the technical interviews. There were two technical interview. The first technical interview was around an hour long. There was one coding question that took around 45 minutes , as the interviewer kept adding conditions.

### PayPal Interview Questions:

Login/Signup to comment