LeetCode Question · Dec 2022

Calaculate the Efficient Cost - PayPal OA

553 views 4 replies

Question Details

class Solution { public: int calculateCost(vector<int> arr, int threshold) { int n = arr.size(); vector<int> dp(n + 1); for (int i = 1 ; i <= n ; i++) { int...

Full Details

🔒

Unlock all Paypal questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a paypal interview for a swe role during the oa round reported in 2022.

It covers the following topics: Dynamic Programming .