PhonePe | Interview Experience | SDE (intern + full time)

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2023-02-11Added By Anonymous
Source:Ā Link
🧭 Experience: unknown āœ… Outcome: Not Selected šŸ’° Compensation: unknown šŸ“ Location: Bangalore šŸ¢ Company: PhonePe šŸŽ“ Education: unknown šŸŽ Benefits: unknown šŸ“… Offer Date: unknown Location : Banglore Position : SDE intern + fulltime Round 1: 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 2. 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: 1. 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 2. 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 1. My project 2. Previous internship 3. Why phonepe 4. and someother few questions. Result: Not Selected
Comments