Facebook Telephonic | L4 | London
Anonymous User
2636

Find 4 countries directly connected which can get max money?
Given list of countries & money located -

  1. UK, 10
  2. Spain, 20
  3. USA, 19
  4. Germany, 7
  5. Ireland, 11
  6. UAE, 9
    N countries

Countries connected
Germany - USA
USA - UK
Germany - Spain
UAE - Ireland
Ireland - UK
M connection

Return max money can be collected for 4 countries.

How do you solve this?

Comments (9)