Avathon Interview Experience SDE2
Anonymous User
222

Status: 3 YOE
Position: SDE2
Location: Bangalore
Company: Avathon

Round 1:

This round was mainly focused on funsamental knowledge testing around DSA and react, javascript. There were two interviewers.

Questions:

  • DSA: You are given an integer array weight of length n, representing the weights of n parcels arranged in a straight line. A shipment is defined as a contiguous subarray of parcels. A shipment is considered balanced if the weight of the last parcel is strictly less than the maximum weight among all parcels in that shipment.
    Select a set of non-overlapping, contiguous, balanced shipments such that each parcel appears in at most one shipment (parcels may remain unshipped).
    Return the maximum possible number of balanced shipments that can be formed.

  • What is the execution order:
    console.log('A');
  setTimeout(()=>
    console.log('B'),0);
    Promise.resolve().then(()=>
    console.log('C'));
    queueMicrotask(()=>
    console.log(('D));
    console.log('E');

Follow up questions: What is micro and macro task, Explain event loop...

  • What is wrong with this code?
function Time(){
   const[count,setCount]=useState(0);
   useEffect(()=>
   {
     setCount(count+1);
   },1000);
   },[]);
   return <h1>{count}</h1>;
   }

Round 2:

  • What is Abstract user in django, query operations, Find maximum of an array python -> Change it to find duplicates, In javascript we have async and await how do they help, Give example in python for async await, What are event driven attributes, difference between kafka and kinesis, authentication vs authorisation, discussion around personal project--> how you enhance it, deployment methods(blue/ green deployment, canary deployment), what is newly introduced HTTP method, questions around aws services(EC2, IAM roles, s3) etc..

The overall interview process was positive and highly educational.The interview panel provided good support throughout.The evaluation heavily emphasized fundamental software engineering concepts.

Comments (1)