Open In App

Amazon Interview experience | Set 326 (For Application Engineer)

Last Updated : 08 Jul, 2019
Like Article

Requirement was that the candidates should have strong troubleshooting skills, strong knowledge of scripting in any language + Strong coding skills and problem solving skills.

Round 1: Written test (Elimination Round)
There were total 6 questions. 2 coding and 4 scripting questions.

  1. Write a function to print the run length encoding of a given string.
    Example : 
    I/P String - wwwwwxxxxddaaaww
    O/P String - w5x4d2a3w2

    [5 marks]

  2. Write a function to print the spiral of a matrix. [5 marks]
  • The file is given as follows containing records of length 10 having mix of numbers, alphabets and alphanumeric characters.

    Write a script command to print the distinct records containing only alphanumeric characters.
    Expected Output : 123456789X
    [2 Marks]

  • Write a script command to rename all .JPG files to .JPEG files in the current directory.[2 Marks]
  • Write a command to kill a process using process name. [2 Marks]
  • Script command to calculate the total size of all the PDF files in the directory. [2 Marks]

  • Round 2 : Technical/Problem Solving F2F Interview

      The customary – “Tell me about yourself”. ๐Ÿ™‚

      Then the interviewer asked me whether my code for the run length encoding asked in the written round will run for all the inputs. I was pretty sure that it would run. He gave me a case where my code was failing. He told me to modify my code. Also, I had used Hashing technique for this problem so he asked few questions on HashMap how it works.

    1. How will you find whether any permutation of a word would be a Palindrome.
      I explained him the logic using Brute force approach with O(mx2^m) time complexity, where m is the size of the word. He told me to optimize it. I told him the following approach:
      We will keep track of the counts of each character in the word. If the length of the word is even and if all characters appears even number of times, a palindrome can be formed.
      Similarly, if the length of the string is odd and all characters but one appear even number of times then Palindrome can be formed.
      Else, in all other cases Palindrome won’t exist in the word. He seemed to be satisfied with my approach and told me to write the full code.
    2. Find all the pairs with a given sum.
    3. He gave me a problem to solve. Given two identical ropes of equal length, ,if it takes 60 minutes to burn out the whole rope, how will you measure 45 minutes using these two ropes. You are provided with only these two ropes and a lighter to ignite.

    Round 2: Debugging and Troubleshooting/Scripting

      Tell me about yourself.

    1. Given the contents of the file as follow:
      Company1 400
      Company2 500
      Company3 600
      Company2 150
      Company1 350
      Write a script command to find the total cost incurred by Company1.
    2. Script command to print the sentence in reverse order.
      I/P - "You are in Amazon"
      O/P - "Amazon in are You"
    3. Troubleshooting scenario – If a customer complains that he is not able to sign in to hi Amazon account, how will you troubleshoot?
      She told me to write as many points in the paper as possible. Whatever point I was mentioning, she was like – “Anything else? Anything else? :P”

      She modified the question and asked me if 3-4 customers complains the same that they are not able to login to their Amazon account, how will you troubleshoot the issue.

      Debugging – How will you debug the issue whatever you have troubleshooted.

    4. If there is sudden increase in the requests count in the system and you need to answer to the higher authorities, how will you handle the situation?

    Round 4: Troubleshooting/Debugging/Problem Solving/ Managerial

    1. Tell me about yourself.
    2. Given a file containing some sample text, write a script command to count the number of occurrences of the word “Amazon”.
    3. Given a file containing some sample text, write a script command to change all occurrences of the word “Amazon” with “It” in the file.
    4. Given an array of positive and negative numbers, find the maximum product of the pair of numbers in the array.
    5. He asked me what project am currently working on. I told I was mainly a backend developer in DB2 as core database. He gave me a query to fetch the 2nd highest value from the column.
    6. Tell me a situation where you were working with your team and the team was stuck with some issue for which you were digging out the main problem where the issue is arising and finally you figured out the same.
    7. Troubleshooting – A customer is having 2 devices – tablet and android. He is using Kindle app in the tablet and he has made notes and read till 500th page of a book in the kindle app. Next day he wishes to read the same book from 501st page, but he observes that all his notes are lost from 401st-500th page. How will you troubleshoot this issue.
    8. At last, HR called me and told that I am rejected. ๐Ÿ™

    Previous Article
    Next Article

    Similar Reads

    Amazon Interview experience | Set 326 (For SDE II)
    1st Reverse the linklist in pair manner Q: 1->2->3->4->5 A: 2->1->4->3->5 Third highest value in tree Full code required. 2nd Put the given random pointers in linklist to point to next greater node such that if u transverse list in using random pointer, list become sorted. duplicates are allowed. Full code required 3rd Desig
    1 min read
    Amazon Interview Experience | Set 237 (For Application Engineer)
    1) Written Test on Unix Shell Scripting 1. write a script/command to find files older than 7days and zip them and move to specific folder. 2. Asked write some examples on CUT 3. sked to write some examples on awk 2) Written test on core java 1. Binary search 2. Hash map program 3. Psudo code for binary search algorithm Thanks and Regards All Practi
    1 min read
    Amazon Interview Experience - Application Engineer 2 (2.3 years experienced)
    Round 1: Telephone Interview Initial, Questions were mostly from Technologies mentioned in the Resume. After that they entered into coding part and they shared a online editor which belongs to amazon . -> question 1: Given a Set of strings find the number of occurrences of each string . -> question 2: Given array of even and odd numbers move
    4 min read
    Amazon Interview Experience - Application Engineer
    Round 1 : Scripting and troubleshooting Scripting :- Return the count of word present in a file How will you kill one/multiple process in cmd Return PID of a process How will you Change file permissions Return number of empty lines in a file Return 1st word of every line in a file Simple questions like these and basic linux commands to get current
    2 min read
    Amazon Interview Experience - Application Engineer
    Round 1 - Written Coding(C++ or Java or Python) and Scripting(Perl or Unix or Ruby)(1 hour) Programming: Given a number. Find next highest number with same set of digits I/P - 12345 O/P ย 12354 Given an integer list. Output should be the product of next remaining digits I/P - {1, 2, 3, 4, 5} O/P - {120, 120, 60, 20, 5} Scripting: Script to change ow
    2 min read
    Amazon Interview Experience As An Application Engineer
    Hi Readers, I have been interviewed by Amazon as an Application Engineer. The hiring process was totally online and it was a seamless procedure. I was working as a Reliability and Production Engineer at Morgan Stanley. I got a ping from an Amazon recruiter on LinkedIn. Apart from this, I am really thankful to GOD, as I believe behind every success
    2 min read
    Oracle Interview Experience | On Campus for Application engineer/Server Technology Engineer
    1st round: MCQ Test Round(online)There were no coding questions to my surprise. The whole test was divided into 4 sections. Aptitude: Mathematics(probability, equation based), Reasoning(basic puzzles),Observation(You just had to tell which of the 4 options was present in the above given 10x3 table just by looking and observing), Flowchart(a flowcha
    8 min read
    Oracle Interview Experience | Set 69 (Application Engineer)
    Round 1 (2.5 hours) : First round was an aptitude test on AMCAT, consisting of verbal, quantative, logical reasoning and MCQs on data structures and algorithms (prepare avl trees for sure). Round 2 (1 hour) : Second round was coding round where half of the people who gave first round were shortlisted. The questions were hard. There were 2 questions
    3 min read
    Oracle Interview Experience | Set 28 (Application Development Engineer)
    Cutoff: 7 CPI Oracle came here with two profiles, Applications Development and Server Technologies. The written test was common for both the profiles. Written Test (Initial Screening Round): The written test consisted of 4 parts. Each part had a few more sub-parts which are to be answered in 120 mins. Grammatical, spoken English, and passage analys
    5 min read
    Oracle Interview Experience | Set 33 (On-campus Application Development Engineer)
    Cut-off was 7 CGPA Online test: This round consist of 4 Sections. Each section consists of subsections. Each subsection has its own time limit. General Aptitude, Analytical & Mathematical reasoning Software Engineering English, Verbal Ability & Vocabulary Computer Science concepts & Programming skills. This round did not have any negati
    4 min read
    Practice Tags :