LeetCode Question · Jun 2023

JPMORGAN OA

461 views 1 reply

Question Details

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; public class Main { public static double calculateMaxAmount(Map<String, Double> fxRates, String originalCurrency, String targetCurrency) { if (originalCurrency.equals(targetCurrency)) { return 1.0; } double maxAmount =...

Full Details

🔒

Unlock all JPMorgan 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 jpmorgan interview for a swe role during the oa round reported in 2023.

It covers the following topics: Hash Table, Strings .