Open In App

PayPal Interview Experience 2023

Last Updated : 28 Mar, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Online Assessment : 

It was conducted on the Hackerrank Platform. There were 10 MCQs and 1 Coding Question. MCQs were on OS, CN. 

Coding Question : 

There are n passwords in the form of a string array of passwords[n]. There is also a dictionary dict words[m] that contain m weak passwords. Classify each of the n passwords as “weak” or “strong”.

A password is “weak” if any of these conditions are met.

  • The password is in the dictionary.
  • A substring of the password is a word in the dictionary.
  • The password is all numerical, i.e. consisting of characters from (‘0’ to ‘9″).
  • All characters are uppercase(A to Z) or all of them are lowercase(‘a’ to ‘z’).
  • The password is shorter than 6 characters.

Implement a prototype password validation service.

Example

Suppose n=5, m = 3, passwords= iliketoCoDe”, “teaMAKEsmehappy”, “abracaDabra”, “password”,”blackcoffeelSthebest”], 

common_words= [“coffee”, “coding”, “happy”]

Technical Interview :

It was a 45min Interview. First, 5 min was Self Introduction. Since I mentioned Node.js and API projects, he asked me a question about it and my other projects for 20min. We later moved on to the coding session. 

Question 1: The first question was on arrays, it was about finding out the number of non-overlapping pairs that make a sum K. 

Question 2: The second question was, given a text, find if the number of ‘T’ and ‘t’ in the text are equal. The input is large.

Question 3: Given HODs and Professors and Assistant Professors. If a HOD is given as input, print out all the professors and assistant professors under him.

I couldn’t crack the interview.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads