# Category: Software Engineer In Test

Objective: Write an algorithm to check if one string is Rotation of another string. This question has been asked in the Amazon interview. Example: Input Strings : ‘sumitjain’ and ‘tjainsumi’ Output : true Input...

### Like this:

Like Loading...

Objective: Reverse the given linked list. Input: A Linked List Output: Reversed Linked List Example: Input : ->30->25->20->15->10->5 Reversed : ->5->10->15->20->25->30 NOTE : Click Reverse a Linked List – Part 2 to see the...

### Like this:

Like Loading...

Objective: This question was asked in Amazon interview for the Software development Engineer position, Write an algorithm to print all the elements of two dimensional array in spiral. Example : Input: Two dimensional array...

### Like this:

Like Loading...

Objective: You have been asked to Write an algorithm to find Whether Given the Sequence of parentheses are well formed. This question was asked in the Amazon Interview. Input: A String contains a sequence...

### Like this:

Like Loading...

Objective : Write an algorithm to find an Element in 2 dimensional array where rows and columns are sorted respectively. Input: A two dimensional sorted array, arrA[][]. Output : True or false based...

### Like this:

Like Loading...

Objective : Write an algorithm to find Whether Given String is palindrome or Not. Input: A String, Output: true or false on whether string is palindrome or not Approach: Use recursive approach Compare first...

### Like this:

Like Loading...

Objective : Write an algorithm to find two Missing Numbers in a Sequence of Consecutive Numbers Input: Array, arrA[] with two missing numbers and Range Output : Two missing numbers Approach: Approach is very...

### Like this:

Like Loading...

Objective : You have been asked to Write an algorithm Find a Missing Number From a Sequence of Consecutive Numbers Input: Array, arrA[] with a missing number and Range Output : missing number Approach: Approach...

### Like this:

Like Loading...