Amazon Interview Question

1.Test case enumeration- write the test case for video calling app in mobile 2.Write the program to find the consecutive duplicate letters in each word of the sentence and print the sentence without duplicate letters 3. Find the series of numbers in an array which gives the sum value as 3

Interview Answers

Anonymous

Jul 17, 2020

function removeDuplicate(str){ var arr = str.split(' '); var finalArr = []; for (var i=0; i

8

Anonymous

Jul 17, 2020

function removeDuplicate(){ var str = "Amazon is s good company" var arr = str.split(' '); var finalArr = []; for (var i=0; i

7