Skip to content
Related Articles

Related Articles

Amazon Interview Experience | Set 256 (Written Test for SDE1)

Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 04 Jul, 2019
Improve Article
Save Article

Recently i had an online test at hackerank platform for Amazon SDE1 position.

Following are the questions

1. Given an unsorted array, trim the array such that twice of minimum is greater than maximum in the trimmed array. Elements should be removed either end of the array.

2. Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change?

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!