PhonePe | Interview Experience | SDE (intern + full time)
1103
Feb 11, 2023
Feb 11, 2023
Location : Banglore
Position : SDE intern + fulltime
Round 1:
- You are given an array of strings arr. A string s is formed by the concatenation of a subsequence of arr that has unique characters.
Return the maximum possible length of s.
Example:
Input: arr = ["uniq", "characters", "only", "please"]
output: 4- Find all possible recipes from given supply.
Example:
Input: recipes = ["bread","sandwich"],
ingredients = [["yeast","flour"],["bread","meat"]],
supplies = ["yeast","flour","meat"]
Output: ["bread","sandwich"]Round 2:
- Given a string and an integer k, find the length of the longest substring that contains k or fewer characters that are the same.
Example:
Input: s = "aabccbb"
k = 2
Output: 5- Given a list of employees and their email addresses, write a function to find the departments to which each employee belongs based on the domain of their email address. The department name is the part of the email address after the '@' symbol.
Example:
Input: employees = [Employee("John", "john@example.com", ""),
Employee("Jane", "jane@example.com", ""),
Employee("Jim", "jim@example2.com", ""),
Employee("Jill", "jill@example.com", "")]
Output:
Department: example.com
Employee: John
Employee: Jane
Employee: Jill
Department: example2.com
Employee: Jim Round 3: HR interview
They asked about
- My project
- Previous internship
- Why phonepe
- and someother few questions.
Result: Not Selected
Comments (2)


