Tip 1 : work in projects and gain some experience
Tip 2 : solve coding questions as much as you can
Tip 1 : Have some practical projects but include those only that you are confident about it.
Tip 2 : Put about your skill set which matches the applied role



If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
1. Declare a string variable to store the input string.
2. Use the reverse() function to reverse the string in-place.
3. Print out the reversed string.



An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.
For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3].
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Can you solve this in linear time and constant space complexity?
Step 1 : Run a nested for loop to generate every subarray
Step 2 : Calculate the product of elements in the current subarray
Step 3 : Return the maximum of these products calculated from the subarrays
Give a brief description of yourself
where did you get to know Amazon
where do you see yourself in five years in Amazon
Tip 1 : Be confident
Tip 2 : Don't lie about your skills and hobbies
Tip 3 : Well dressed.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?