Frage im Vorstellungsgespräch bei Prudential

java questions, simple algorithms. the interview lasted about 20 mins.