[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Amazon Interview Questions and Answers for 3 years Experience

Home > Experience Archives > Amazon > Interview Question Set 2
Written Round

    1 / 3

    Problem: Write a methods which accepts the start pointer of single linked-list of integers and returns true if it is a palindrome and false otherwise.
    Condition: Solve the problem by using constant space only .

    Example:
    1->2->3->4->5 output: false
    1->2->1 output: true
    1->1 output: true

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    2 / 3

    Given a Boolean 2D array, where each row is sorted, find the row with the maximum number of 1s

    Example:
    Input matrix
    0 1 1 1
    0 0 1 1
    1 1 1 1 // this row has maximum 1s
    0 0 0 0

    Output: 2

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    3 / 3

    For example: 1. C*KS matches COOKS
    2. AM?Z?N* matches AMAZONINTERVIEW [Note * in the end]
    3. AM?Z*N DOES NOT MATCH AMAZING.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!