Posts

Showing posts with the label solutions

In-feeds

Total views

SDE-1 Amazon Interview Experience

Image
SDE-1 Amazon Interview Experience   Interview on:  11/11/2021 Round 1 : Online Hacker-rank coding test Round 2: Technical Interview Mode: Virtual call at Chime Duration: 1 hour The interviewer joined the call on time. Asked for introduction, no questions asked on my introduction. They directly came to the point and told me that this round will consist of 2 coding questions and 1 leadership question. In case, we run out of time we will have 1 coding and 1 leadership question. So, the agenda is clear, it is all about ...

Solutions LTI Infinity Coding Challenge 2021

Image
  Problems and Code  Serena and Flowers Serena has a garden with N flower pots arranged in a row Every morning she walks through the row and plucks flowers She targets to visit the first K pots in the row Find the number of different flowers that Serena would pluck on an angle walk through the k pots Input Specification: input1: N, number of flower pots in Serena's garden  input2: K number of pots Serena visits one walk  inputs: An array containing pot index P to represent each pot by unique numbers (1<=P<=1000).  pots having the same flower will have the same pot index Output Specification: Your function should return the number of different flowers plucked by Serena Example 1: ...