Upload Button Icon Add office photos

PayPal

Compare button icon Compare button icon Compare

Filter interviews by

PayPal Senior Machine Learning Engineer Interview Questions and Answers

Updated 14 Nov 2024

PayPal Senior Machine Learning Engineer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Knn algorithm using python
  • Ans. 

    KNN algorithm is a simple and effective machine learning algorithm for classification and regression tasks.

    • KNN stands for K-Nearest Neighbors.

    • It is a non-parametric, lazy learning algorithm.

    • Works by finding the K closest training examples in feature space to a given input data point.

    • Classification: Assign the most common class among the K nearest neighbors.

    • Regression: Take the average of the K nearest neighbors' target...

  • Answered by AI
  • Q2. Some LC problem on suffix and prefix
  • Ans. 

    Understanding prefix and suffix problems in strings is crucial for efficient algorithm design.

    • A prefix is a substring that starts from the beginning of the string. Example: In 'hello', 'he' is a prefix.

    • A suffix is a substring that ends at the end of the string. Example: In 'hello', 'lo' is a suffix.

    • Common problems include finding the longest common prefix or suffix among an array of strings.

    • For example, given ['flower'...

  • Answered by AI
Round 2 - One-on-one 

(2 Questions)

  • Q1. Case study on imbalanced dataset
  • Q2. Evaluation metrics

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about PayPal?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Jan 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Pl sql Unix api configuration
  • Q2. Routing how to use proxy
  • Ans. 

    Routing through a proxy involves configuring the proxy server to forward requests to the destination server.

    • Configure the proxy server to listen for incoming requests

    • Configure the proxy server to forward requests to the destination server

    • Configure the client to use the proxy server for outgoing requests

    • Use a proxy server to bypass network restrictions or improve performance

    • Examples: Nginx, Apache, Squid

  • Answered by AI
Round 3 - One-on-one 

Interview Preparation Tips

Interview preparation tips for other job seekers - Avoid this company. You can be fired any day without notice.

Skills evaluated in this interview

Senior Machine Learning Engineer Interview Questions Asked at Other Companies

Q1. Data formats in big Data, why each format.
Q2. Implement Associate Rule Mining.
Q3. What is the significance of the k value in k-means clustering?
Q4. Implement a clustering algorithm.
Q5. Given a list of elements, find the most frequent element.

Interview Preparation Tips

Round: Technical Interview
Tips: Have a good grasp of DS algo, java, etc.(Here CGPA doesn't matter)

General Tips: Do’s and Don’ts :
1. Be confident and to be confident prepare well.
2. Set the priority of your companies 
3. Don't start preparation at end. Don't ignore the content of resume.

Be confident and start preparation as soon as possible.
College Name: IIT Kanpur

Software Engineer Interview Questions & Answers

Visa user image Pranali Yawalkar

posted on 14 Dec 2015

Interview Questionnaire 

7 Questions

  • Q1. Discussion on my internships and course projects.
  • Q2. My field of interest, how well have I fared in it.
  • Q3. Design a mvc controller system where given a url, I am able to invoke the right controller. Eg, given "xyz.com/a/b/c", I should be able to invoke c controller by going through a and b
  • Ans. 

    Design an MVC controller system to route URLs to the appropriate controllers based on the URL structure.

    • Define a routing mechanism that maps URLs to controller actions.

    • Use a hierarchical structure where each segment of the URL corresponds to a controller.

    • Example: For 'xyz.com/a/b/c', 'a' routes to 'AController', 'b' to 'BController', and 'c' to 'CController'.

    • Implement a method to parse the URL and invoke the correspond...

  • Answered by AI
  • Q4. Design autocomplete in IDEs
  • Ans. 

    Autocomplete in IDEs helps developers write code faster by suggesting code snippets and completing code as they type.

    • Autocomplete should suggest code snippets based on the context of the code being written

    • Autocomplete should prioritize suggestions based on frequency of use

    • Autocomplete should also suggest variable and function names

    • Autocomplete should be customizable to allow for user-defined snippets and suggestions

    • Exa...

  • Answered by AI
  • Q5. What is my weakness
  • Ans. 

    My weakness is public speaking.

    • I tend to get nervous when speaking in front of large groups.

    • I am working on improving my public speaking skills by practicing and seeking feedback.

    • I have taken courses and attended workshops to help me overcome my fear of public speaking.

  • Answered by AI
  • Q6. Given 2 game scenarios for basketball, and given p as the probability of making a basket in an attempt, I have to understand the condition where game1 would be preferable over game2. In first game, I have ...
  • Ans. 

    Comparing 2 basketball game scenarios with different number of trials and baskets required to win

    • Calculate the probability of winning in each game scenario using binomial distribution formula

    • Compare the probabilities to determine which game scenario is preferable

    • In game1, the probability of winning is p. In game2, the probability of winning is the sum of probabilities of making 2 or 3 baskets

    • If p is high, game1 is pref...

  • Answered by AI
  • Q7. Given a dictionary of words, I have to go from one word to another in least number of transitions where a transition is a defined as changing any letter of the current word such that the new word is also i...

Interview Preparation Tips

Round: Test
Experience: The test was on hackerrank.
Tips: * Fast coding and problem solving required
* Time crunch
* The test is valued a LOT in the hiring process
Duration: 120 minutes
Total Questions: 4

Round: Technical Interview
Experience: Question 1 : He tried to take the discussion to web based technologies to which I straightly told I don’t know. Not sure if that was a good decision. Nevertheless, he went over my resume a lot of times and asked about various projects.
Question 2 : Discussed the various projects related to it.
Question 3 : He asked this question because I had worked on django during my FB internship. I proposed a tree based structure. xyz.com/a/b/c ---> b is child of a, c is child of b.

Question 4 : Next he moved to a very interesting question. Given a simple text editor, I want to facilitate autocomplete feature. We discussed about syntactic methods using language specific keywords. I suggested a trie based implementation which he liked. Later he asked me to improve and redirected me to using scope of the variables, and grammar of the language. We discussed about all the steps I did in language translators lab (macrojava -> minijava -> typechecking -> miniIR -> microIR -> miniRA ->Mips) where we built a Java compiler in Java. We later hopped back to original question and I suggested that we can use grammar to to store multiple (nested kind of) tries for different scope. He asked me how would I define “scope”. He gave me a scenario which helped me come up with the nested trie structure
int a;
{
int b;
{
int c; //a b c can be used
}
{
int d; //a b d can be used
}
}
He then asked me details of how I would code. I said we could use the respective visitors and maintain the current trie root for scope. He liked it but I missed at 2 places :
1. He asked me about token generation used in a compiler and I said flex and bison. I was expected to elaborate a bit.
2. He asked me how the grammar is generated and how the visitors are invoked. I couldn’t explain properly because I was not thorough with it.
Tips: * Keep smiling in the interviews.
* My interviewer had hopped from Microsoft to Visa. We had a short detailed discussion on how the transition was and what drove him to do that.
* It’s always good to know about the company to pick up interesting discussions, read up latest articles and news
* The interviewers want to see if you are passionate about what they are building. Their PPT (Pre Placement Talk) was also focussed majorly on the technologies they are building.
* If you take a question in a direction, make sure you are very very thorough with it. I took it in the direction of compilers, but couldn't make the transition seamlessly because I wasn't thorough with a lot of things (like token generation, visitor invocation).
* Not sure if telling upfront that you don't know about web technologies when you are applying for a profile that might need it is a good idea or not.


Round: Technical Interview
Experience: I think he was a senior person and spoke very passionately about the work that is happening in visa Bangalore office.

Question 1 : I said maybe I should have learnt a little about web based technologies. I think he was looking for a more generic answer.
Question 2 : I went ahead with calculating the expected score where my score random variable = 1 with probability p, and 0 with probability (1-p). I conditioned that expected score of game1 > game2 which would give me the range of p. I goofed up the equations twice but he said he liked my approach and I was just there

Question 3 : I suggested building a graph where a node is a word and an edge means a transition, and then performing BFS. He said that was obvious and that he was more interested in knowing how I build the graph. I suggested a method to reduce the number of string comparisons by storing a count vector with each word. Count vector is a 26 length vector where count[i] = number of times that letter occurs in the word. I would do string comparison to identify neighbours only if the difference in count vectors in 2. Eg, cot = cat - a + o. String comparison is still needed because of false positives. Eg, oct = cat - a + o but cat -> oct is not a valid transition. He liked my approach and asked me to code, discussed the complexity.
Tips: * Don't be naive around a senior engineer. Be confident.
* Explain your approach before going ahead solving it. I missed that in Q1 and for a long time he didn't know what I was heading towards.
* Write clean code, practice coding on paper to make sure you write compilable code. Shabby code is a turn off.
* Show passion for the company you are applying for.

General Tips: * Be friendly and keep smiling.
* Know about the company, well in detail. Recent news, articles, acquisitions, organisational changes, new offices, new product, etc.
* Know about the volume the company handles, certain mind boggling figures, what the company *does not* do
* If you are introducing yourself as an expert in a certain field, be prepared for questions like "How will you contribute to our company with your expertise" type of questions.
* Be very very thorough with every single thing you write on your resume. A small point you weren't sure about might become the basis of your whole interview. Don't write things you are unsure of, or have worked very little on.
Skill Tips: * I think I didn’t take Visa very seriously. I was assuming they won’t take a undergrad and they won’t take me because I have 0 knowledge in web based technologies. I might have acted a little cocky.
* They had nice pie diagrams which shows that they had done thorough research about each and every candidate based on resume and the coding test.
* They value the coding test a lot.
* Be very thorough with the projects you write on resume. They will give you a problem which won't be straightforward and will map onto one of your course projects. You are expected to do the mapping seamlessly. Every bit of the discussion you have with the interviewer can be your next problem.
* Brush up on web based technologies if you can.
* There will be a HR round as well if you clear the technical interviews.

Skills: Maths(esp Probability), Design, Passion, Web Technologies, Technical Skill And Speaking Skill, Coding Skills
College Name: IIT Madras
Motivation: * Been the leader since more than half a century, been through the technological revolution.
* Revolutionising payments architecture. Building something of greatest need, so elegant and optimised, yet producing such consistent performance.
* Keeping up with the need of the generation by introducing features which are brand new. Eg, “all-purpose credit card”.
* Loved their PPT (Pre Placement Talk). Volume of the data and processing is IMMENSE. Billions of transactions in a year voluming up to trillions. More than 200 countries in the world --> these stats are HUGE.
* Fraud detection is a space I would have loved to work on given that I come from a Data Mining background.

Funny Moments: Chucked out before HR round :P

Skills evaluated in this interview

Interview Questionnaire 

2 Questions

  • Q1. Why would you like to join Visa and why?
  • Ans. 

    I want to join Visa to contribute to innovative payment solutions and be part of a global leader in financial technology.

    • Visa is at the forefront of digital payment innovation, allowing me to work on cutting-edge technologies.

    • The company's commitment to security aligns with my passion for developing secure software solutions.

    • Visa's global presence offers opportunities to collaborate with diverse teams and learn from di...

  • Answered by AI
  • Q2. Tell me about yourself
  • Ans. 

    I'm a passionate software engineer with a strong background in full-stack development and a love for problem-solving.

    • Graduated with a degree in Computer Science from XYZ University.

    • Worked at ABC Corp, where I developed a web application that improved user engagement by 30%.

    • Proficient in languages like JavaScript, Python, and Java, with experience in frameworks like React and Django.

    • Enjoy collaborating in agile teams an...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Coding Questions were fairly standard ones.
Duration: 75 minutes
Total Questions: 42

Round: Interview
Experience: Networks based questions, firewalls, TCP/IP and other OSI layers

Round: Interview
Experience: Coding questions. Asked to code on paper. Questions on Object Oriented Design.

Skills: Networks basics, OOPs basics, Coding Skills
College Name: IIT Guwahati
Motivation: Profiles offered, Package, Location

Interview Preparation Tips

Round: Test
Experience: Questions on
1. Programming: 10 Questions2. Machine Learning Hadoop MCQ: 6 Questions3. Networking MCQ: 6 Questions4. Operating System: 6 Questions5. Infrastructure: 6 Questions6. Application Security: 6 Questions
Tips: Questions were simple , except sections 2,5 unless you have a basic idea about it.
Duration: 75 minutes
Total Questions: 34+2

Round: Technical Interview
Experience: – Projects, Internship– Asymmetric and Symmetric encryption with some real world usage– Concepts behind Digital Signature and Digital Certificates– Detailed discussion on HTTPS– Basic OS concepts : Threads, Mutex , Semaphores– Basic OOPS concepts : Virtual functions , Function overloading and overriding , encapsulation.
Tips: Focus on Network Security concepts !

Round: Technical Interview
Experience: – Projects , Internship– Some discussion on Testing and how you would design a unit test case and a complete project test case. Discussion on Automated Testing.– How does a Web application work.– Software Development Models– Discussion on interpreted language and compiled language– Some DBMS basics for efficiency :- Indexing viz. B+trees , Hashing.– Some discussion on Apple Pay , VbV (Verified by Visa) (informal)

Round: HR Interview
Experience: Basic HR questions !

General Tips: Confidence is the key along with sufficient coding practice both on the IDE and pen-paper.
Skills: Network Security, Programming, Algorithms, Operating System
College Name: IIT ROORKEE

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

7 Questions

  • Q1. Given an array, Implement Binary search tree
  • Ans. 

    Implement Binary Search Tree using given array of strings.

    • Sort the array in ascending order

    • Find the middle element and make it the root of the tree

    • Recursively create left and right subtrees using the left and right halves of the array

    • Repeat until all elements are added to the tree

  • Answered by AI
  • Q2. Given the above Binary search tree, print in ascending order
  • Ans. 

    Print the given Binary search tree in ascending order

    • Traverse the left subtree recursively

    • Print the root node

    • Traverse the right subtree recursively

  • Answered by AI
  • Q3. Given an array of stock prices, find where to buy and where to sell for maximum profit in O(n)
  • Q4. Resume based
  • Q5. What are three problems Chennai faces?
  • Ans. 

    Chennai faces problems related to water scarcity, traffic congestion, and pollution.

    • Water scarcity due to inadequate rainfall and poor management of water resources.

    • Traffic congestion due to the increasing number of vehicles and poor road infrastructure.

    • Pollution caused by industries, vehicular emissions, and improper waste disposal.

  • Answered by AI
  • Q6. Which one would you solve and how and why?
  • Ans. 

    Need more context on the question to provide an answer.

    • Please provide more information on the problem to be solved.

    • Without context, it is difficult to provide a solution.

    • Can you please provide more details on the problem statement?

  • Answered by AI
  • Q7. What is most interesting thing about Visa?

Interview Preparation Tips

Round: Test
Experience: 4 Coding questions on Hackerrank platform, one and half hour time. I am not going to reveal the questions here, but one was a basic binary tree implementation and the other three were algorithmic and mathematical problems. They were kinda hard to solve in an hour and half. I could do only 1 and half of the other one. I got 115/300 points on that. I was one of the 16 people selected for the interview.
Tips: It all depends on how well you can focus on the test day. Just practice a lot on hackerrank.
Duration: 1 hour 30 minutes
Total Questions: 4

Round: Technical Interview
Experience: The first two questions I was able to do fast enough. I was also asked a few questions on my resume and coding-related internship. The last one, I showed an O(n*n) algorithm first and then modified it to O(n). Around 45 minutes.
Tips: Be thorough on the coding part in your resume. Think out aloud!

Round: Technical + HR Interview
Experience: Just a few normal questions regarding my projects and my favorite course and it's application to Visa. 15 minutes.
Tips: Once again, be thorough on your resume.

Round: HR Interview
Experience: Once again a normal round, just random questions as to whether I am interested and good enough in communication. 15 minutes.
Tips: Don't get shaken. Be ready for all kinds of questions. Especially about Visa relation to what you do

Skills: Smart Coding
College Name: IIT Madras

Skills evaluated in this interview

Are these interview questions helpful?

I appeared for an interview before Apr 2021.

Round 1 - Face to Face 

(4 Questions)

Round duration - 45 minutes
Round difficulty - Easy

This was a technical interview round.

  • Q1. How does AJAX work?
  • Ans. 

    AJAX allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes.

    • AJAX stands for Asynchronous JavaScript and XML.

    • It allows web pages to update content without reloading the entire page.

    • AJAX uses XMLHttpRequest object to send and receive data from a server.

    • Commonly used in web applications to provide a more responsive user experience.

  • Answered by AI
  • Q2. What is the difference between SOAP and REST?
  • Ans. 

    SOAP is a protocol, while REST is an architectural style for web services.

    • SOAP is a protocol that uses XML for message format and relies on a request-response model.

    • REST is an architectural style that uses standard HTTP methods like GET, POST, PUT, DELETE.

    • SOAP is more rigid and requires more bandwidth, while REST is lightweight and flexible.

    • SOAP has built-in security features like WS-Security, while REST relies on exte...

  • Answered by AI
  • Q3. What is the difference between GET and POST methods in APIs?
  • Ans. 

    GET is used to request data from a server, while POST is used to submit data to a server.

    • GET requests data from a specified resource, while POST submits data to be processed to a specified resource.

    • GET requests are cached by browsers, while POST requests are not.

    • GET requests can be bookmarked and shared, while POST requests cannot.

    • GET requests have length restrictions, while POST requests do not.

    • Example: Using GET to r...

  • Answered by AI
  • Q4. What is the Observer Pattern?
  • Ans. 

    The Observer Pattern is a behavioral design pattern where an object (subject) maintains a list of dependents (observers) that are notified of any state changes.

    • Allows for one-to-many dependency between objects

    • When the subject's state changes, all observers are automatically notified and updated

    • Commonly used in event handling systems and GUI frameworks

  • Answered by AI
Round 2 - Face to Face 

(4 Questions)

Round duration - 40 minutes
Round difficulty - Easy

This was the second technical interview round.

  • Q1. What is a singleton class?
  • Ans. 

    A singleton class is a class that can only have one instance created throughout the entire application.

    • Singleton classes have a private constructor to prevent multiple instances from being created.

    • They typically provide a static method to access the single instance.

    • Commonly used for logging, database connections, and configuration settings.

  • Answered by AI
  • Q2. What is meant by immutability in Java?
  • Ans. 

    Immutability in Java refers to the property of objects whose state cannot be changed once they are created.

    • Immutability ensures that once an object is created, its state cannot be modified.

    • Immutable objects are thread-safe and can be shared without the risk of data corruption.

    • String class in Java is an example of an immutable class.

    • To create an immutable class, make the class final, all fields private, and provide only...

  • Answered by AI
  • Q3. What is dependency injection?
  • Ans. 

    Dependency injection is a design pattern where components are given their dependencies rather than creating them internally.

    • Allows for easier testing by providing mock dependencies

    • Promotes loose coupling between components

    • Improves code reusability and maintainability

    • Examples: Constructor injection, Setter injection, Interface injection

  • Answered by AI
  • Q4. How do you create an immutable class in Java?
  • Ans. 

    To create an immutable class in Java, make the class final, make all fields private and final, provide only getter methods, and do not provide any setter methods.

    • Make the class final to prevent inheritance.

    • Make all fields private and final to prevent modification.

    • Provide only getter methods to access the fields.

    • Do not provide any setter methods to modify the fields.

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round with typical behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAVisa interview preparation:Topics to prepare for the interview - Java, AJAX, Web Development, Node js, DSA, OOPSTime required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Apr 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical Interview round with questions on DSA.

  • Q1. 

    Stock Buy and Sell Problem Statement

    You are given an array of integers PRICES where PRICES[i] represents the price of a stock on the i-th day, and an integer K representing the number of transactions you...

  • Ans. 

    Determine maximum profit with at most K transactions by buying and selling stocks on given days.

    • Iterate through the array of prices while keeping track of the maximum profit achievable with at most K transactions.

    • Use dynamic programming to store the maximum profit at each day and transaction count.

    • Consider buying and selling stocks at each day to calculate the maximum profit.

    • Return the maximum profit achievable with at...

  • Answered by AI
  • Q2. 

    Sorted Order Printing of a BST Array

    Given a Binary Tree consisting of 'N' nodes with integer values, your task is to determine the in-order traversal of the Binary Tree.

    Input:

    The first line contains ...
  • Ans. 

    The task is to determine the in-order traversal of a Binary Tree given in level order.

    • Implement a function to perform in-order traversal of a Binary Tree

    • Use recursion to traverse left subtree, visit root, and then traverse right subtree

    • Handle null nodes denoted by -1 in the input

  • Answered by AI
Round 2 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round with typical behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAVisa interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

32 Questions

  • Q1. Discussion on the rectangular board question asked in prev round
  • Q2. How will you implement a shuffle function for a playlist of songs
  • Ans. 

    Implementing a shuffle function for a playlist of songs

    • Create a new empty playlist

    • Randomly select a song from the original playlist and add it to the new playlist

    • Remove the selected song from the original playlist

    • Repeat until all songs have been added to the new playlist

    • Return the new shuffled playlist

  • Answered by AI
  • Q3. What is memory leak?
  • Q4. What is the problem with arrays?
  • Ans. 

    Arrays have fixed size and can lead to memory wastage and performance issues.

    • Arrays have a fixed size and cannot be resized dynamically.

    • Inserting or deleting elements in an array can be time-consuming.

    • Arrays can lead to memory wastage if they are not fully utilized.

    • Arrays can cause performance issues if they are too large and need to be traversed frequently.

    • Arrays can also be prone to buffer overflow attacks.

    • Example: A...

  • Answered by AI
  • Q5. Write a function in javascript to hide text on mouse click
  • Ans. 

    Function to hide text on mouse click in JavaScript

    • Create a function that takes an element as input

    • Add an event listener to the element for a mouse click

    • Toggle the element's display property between 'none' and its original value

  • Answered by AI
  • Q6. A unsorted array was given and a number x.find out the two elements whose sum is equal to x
  • Ans. 

    Find two elements in an unsorted array whose sum is equal to a given number x.

    • Use a hash table to store the difference between x and each element in the array.

    • Iterate through the array and check if the current element is in the hash table.

    • Return the pair of elements that add up to x.

  • Answered by AI
  • Q7. More questions on basic OS concepts related to storage, memory
  • Q8. Puzzle : -----/
  • Q9. What is BST ?
  • Ans. 

    BST stands for Binary Search Tree, a data structure used for efficient searching and sorting operations.

    • BST is a tree-like data structure where each node has at most two children.

    • The left child of a node contains a value less than the parent node, while the right child contains a value greater than the parent node.

    • BST allows for efficient searching and sorting operations with a time complexity of O(log n).

    • Examples of a...

  • Answered by AI
  • Q10. How many BSTs are possible with two nodes and three nodes?
  • Ans. 

    Number of possible BSTs with 2 and 3 nodes.

    • For 2 nodes, only 2 BSTs are possible.

    • For 3 nodes, 5 BSTs are possible.

    • Number of BSTs can be calculated using Catalan numbers formula.

    • Catalan(2) = 2, Catalan(3) = 5.

  • Answered by AI
  • Q11. How many trees are possible with two and three nodes?
  • Ans. 

    Answering the question about possible trees with two and three nodes.

    • For two nodes, there is only one possible tree.

    • For three nodes, there are three possible trees.

    • The formula for calculating the number of possible trees with n nodes is (2n-3)!!.

    • The double exclamation mark represents the double factorial function.

    • The double factorial function is defined as n!! = n(n-2)(n-4)...(1 or 2).

  • Answered by AI
  • Q12. Puzzle : 100 people are standing in a circle .each one is allowed to shoot a person infront of him and he hands the gun to the next to next person for e.g 1st person kills 2nd and hands gun to 3rd .This c...
  • Q13. What is indexing? Why it is used?
  • Q14. What are B+ trees?what is the advantage?
  • Ans. 

    B+ trees are balanced trees used for indexing and searching large amounts of data.

    • B+ trees are similar to binary search trees but have multiple keys per node.

    • They are commonly used in databases and file systems.

    • B+ trees have a high fanout, reducing the number of disk accesses required for searching.

    • They are also self-balancing, ensuring efficient performance even with large amounts of data.

    • Example: In a database, a B+ ...

  • Answered by AI
  • Q15. Any questions you want to ask?
  • Ans. 

    Yes, I have a few questions.

    • Can you tell me more about the team I'll be working with?

    • What is the company culture like?

    • What are the biggest challenges the team is currently facing?

    • Can you walk me through the development process for a typical project?

    • What opportunities are there for professional growth and development?

  • Answered by AI
  • Q16. Asked me about the skills i have mentioned in my resume
  • Q17. Which data structure i like?
  • Ans. 

    I prefer hash tables for their constant time lookup and insertion.

    • Hash tables are efficient for storing and retrieving data.

    • They have constant time complexity for both insertion and lookup.

    • They can be implemented using arrays or linked lists.

    • Examples include Python's dictionary and Java's HashMap.

  • Answered by AI
  • Q18. Can you implement a stack using queue
  • Ans. 

    Yes, we can implement a stack using two queues.

    • Push operation: Enqueue the element to the first queue.

    • Pop operation: Dequeue all elements from the first queue and enqueue them to the second queue until the last element. Dequeue and return the last element. Swap the names of the queues.

    • Top operation: Same as pop operation but don't dequeue the last element.

    • Example: Push 1, 2, 3. Queue 1: 1 2 3. Queue 2: empty. Pop opera...

  • Answered by AI
  • Q19. Two arrays of arrival time of trains and departure time of trains were given. find the minimum no of platforms require so that no collision occurs
  • Ans. 

    Find minimum no of platforms required to avoid collision between trains based on their arrival and departure times.

    • Sort both arrays in ascending order

    • Initialize platform count and max count to 1

    • Loop through both arrays and compare arrival and departure times

    • If arrival time is less than or equal to departure time, increment platform count

    • Else, decrement platform count

    • Update max count if platform count is greater than ma...

  • Answered by AI
  • Q20. What is JVM ? Difference between JVM and compiler
  • Ans. 

    JVM stands for Java Virtual Machine. It is an abstract machine that provides a runtime environment for Java programs.

    • JVM is responsible for interpreting the compiled Java code and executing it.

    • It provides platform independence by converting bytecode into machine-specific code.

    • JVM has various components like class loader, bytecode verifier, and execution engine.

    • Compiler converts source code into bytecode, while JVM exec...

  • Answered by AI
  • Q21. He asked me to write a html code for a page design he gave
  • Q22. He asked me to write a query for a relational schema and problem statement given by him
  • Ans. 

    Creating a SQL query based on a given relational schema and problem statement.

    • Understand the schema: Identify tables, columns, and relationships.

    • Clarify the problem statement: Determine what data is needed.

    • Write the SQL query: Use SELECT, JOIN, WHERE clauses as necessary.

    • Test the query: Ensure it returns the expected results.

    • Optimize if needed: Check for performance improvements.

  • Answered by AI
  • Q23. Tell me about Yourself
  • Ans. 

    I am a software engineer with experience in developing web applications and a passion for learning new technologies.

    • Experienced in developing web applications using technologies such as Java, Spring, and Angular

    • Passionate about learning new technologies and keeping up with industry trends

    • Strong problem-solving skills and ability to work in a team environment

    • Completed a Bachelor's degree in Computer Science from XYZ Uni...

  • Answered by AI
  • Q24. She asked me if i was nervous
  • Q25. What do i know about PayTM ?
  • Ans. 

    PayTM is an Indian e-commerce payment system and digital wallet company.

    • PayTM was founded in 2010 by Vijay Shekhar Sharma.

    • It started as a mobile recharge and bill payment platform.

    • PayTM has expanded to offer services like online shopping, movie ticket booking, and travel bookings.

    • It also offers a digital wallet that can be used to pay for various services and products.

    • PayTM has over 350 million registered users and is ...

  • Answered by AI
  • Q26. Any feature i would like to add in PayTM app?
  • Ans. 

    I would like to add a feature for splitting bills among friends.

    • The feature would allow users to split bills for movies, dinners, etc.

    • Users can select friends from their contact list and split the bill equally or unequally.

    • The app would send a notification to the selected friends to pay their share.

    • The feature would make it easier for users to split expenses and avoid awkward conversations.

    • It would also encourage more ...

  • Answered by AI
  • Q27. What is my favourite app and any improvements in it which i want to implement?
  • Ans. 

    My favourite app is Spotify. I would like to see improvements in the algorithm for personalized playlists.

    • Improved algorithm for personalized playlists

    • Better integration with social media platforms

    • Option to create collaborative playlists with friends

  • Answered by AI
  • Q28. She asked me about my school and which school i like the most and why?
  • Q29. She asked me about my family
  • Q30. What is my favourite subject?
  • Ans. 

    My favourite subject is Computer Science.

    • I enjoy programming and problem-solving.

    • I find algorithms and data structures fascinating.

    • I am interested in artificial intelligence and machine learning.

    • I like learning about new technologies and keeping up with industry trends.

  • Answered by AI
  • Q31. Have i ever been to delhi?
  • Q32. Why do I choose NIT Hamirpur? what do i like about Hamirpur?
  • Ans. 

    I choose NIT Hamirpur because of its excellent academic reputation and beautiful campus.

    • NIT Hamirpur has a strong focus on academics and research, which aligns with my career goals.

    • The campus is located in a serene and picturesque location, which provides a conducive environment for learning.

    • The faculty members are highly experienced and knowledgeable, and are always willing to help students.

    • The college has state-of-th...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: General aptitude was easy.It was of 30 mins.
Next technical aptitude and coding questions were of 50 mins duration.
Technical aptitude questions were from OS,C,C++,DBMS.Questions were based on basic concepts.
There were 3 coding questions.
1.A girl eat fish of exact length of 10.She can cut the fish to get the desired length.An array of lengths of fish and maximum possible cuts allowed were given.Find out the max number of fish the girl can eat.
2. A 2-D rectangular board which contains sand grains : 'o' ,obstacles: 'x' and empty cells : '.' .The board is kept vertical. The sand grain can move down into and empty cell but it cannot cross obstacle. find out the final position of all sand grains in the board.
3.It was question on subsequence .
Tips: Just keep your basic concepts clear. Practice questions on strings,dynamic programming and recursion.Go through Geeksforgeeks .It'll help you a lot.
Duration: 80mins minutes
Total Questions: 50

Round: Technical Interview
Experience: The interviewer was very calm and polite. He was giving me hints and enough time to solve the questions.
Tips: Keep talking with the interviewer .Discuss your approach. Do take hints they give you.

Round: Technical Interview
Experience: I was stuck in one or two questions but they keep giving me hints. Interviewers were very nice. They were asking me the approach for each question. They were very cool.

Tips: Stay calm and go ahead. Apply whatever basic knowledge you have . keep asking doubts for the questions if you have any.

Round: Technical Interview
Experience: He asked me about my projects. What was my role. It was an hour long round. Enough time was given to solve each question.I was asked to write code with minimum complexity.
Tips: Keep discussing the questions. Try to reach to the best approach .keep smiling.Never fake your resume.

Round: HR Interview
Experience: The HR was very polite.I was a bit nervous at first but then I was relaxed.
Tips: Just be yourself .You are almost done when you are selected for HR. :) Keep Smiling and be confident about what ever you say.

General Tips: Be confident and have clear basic concepts of all subjects.
Skill Tips: Practise as many questions as you can on geeksforgeeks.
Skills: Coding skills, Logical skills, Aptitude, Basic Knowledge of DBMS
College Name: NIT Hamirpur
Motivation: My recent project work related to E-commerce and the reputation and ecstatic growth of the company in recent months.
Funny Moments: after one of the technical round , interviewer asked me if i had any questions about the company.I asked them what kind of rewards will be given .. do you guys go for trips and get any free coupons :P

Skills evaluated in this interview

PayPal Interview FAQs

How many rounds are there in PayPal Senior Machine Learning Engineer interview?
PayPal interview process usually has 2 rounds. The most common rounds in the PayPal interview process are One-on-one Round.
How to prepare for PayPal Senior Machine Learning Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at PayPal. The most common topics and skills that interviewers at PayPal expect are Data Science, Machine Learning, Artificial Intelligence, Assembly and Business Development.
What are the top questions asked in PayPal Senior Machine Learning Engineer interview?

Some of the top questions asked at the PayPal Senior Machine Learning Engineer interview -

  1. Some LC problem on suffix and pre...read more
  2. Knn algorithm using pyt...read more
  3. Case study on imbalanced data...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

Paytm Interview Questions
3.2
 • 799 Interviews
FIS Interview Questions
3.9
 • 503 Interviews
PhonePe Interview Questions
4.0
 • 342 Interviews
Fiserv Interview Questions
2.9
 • 181 Interviews
Razorpay Interview Questions
3.6
 • 159 Interviews
KFintech Interview Questions
3.5
 • 150 Interviews
Angel One Interview Questions
3.8
 • 148 Interviews
Visa Interview Questions
3.5
 • 146 Interviews
MasterCard Interview Questions
3.9
 • 144 Interviews
View all
PayPal Senior Machine Learning Engineer Salary
based on 5 salaries
₹35 L/yr - ₹60 L/yr
96% more than the average Senior Machine Learning Engineer Salary in India
View more details
Software Engineer2
340 salaries
unlock blur

₹15 L/yr - ₹45 L/yr

Software Engineer
330 salaries
unlock blur

₹19.3 L/yr - ₹42.3 L/yr

Senior Software Engineer
293 salaries
unlock blur

₹15.4 L/yr - ₹46.6 L/yr

Software Engineer III
284 salaries
unlock blur

₹20 L/yr - ₹66 L/yr

Data Scientist
265 salaries
unlock blur

₹28 L/yr - ₹50 L/yr

Explore more salaries
Compare PayPal with

Paytm

3.2
Compare

Razorpay

3.6
Compare

Visa

3.5
Compare

MasterCard

3.9
Compare
write
Share an Interview