PhonePe Interview Experience - 2 | SDE | 2024
PhonePe · Question · Posted Feb 2025
PhonePe - Software Development Engineer (SDE) Interview Experience Online Coding Round Duration: 90 minutes Total Questions: 4 Difficulty Level: Medium-Hard Platform: Internal/Assessment Portal Questions: Minimum Cost to Form Array Using Prime Numbers Problem: Given an array Arr[] and a cost array Cost[], each Arr[i] must be formed by summing up a single prime number multiple times. The cost for using a prime p x times is x * Cost[i]. Find the minimum total cost. Example: Arr[i] = 10, Cost[i] = ...
The full answer & interview discussion are available to premium members.
Log in Create a free account