well ,let me first explain my background because I think it might affected the rejection ,I have 10+ automotive embedded experience ,Embedded C . The interviewer had more years of experience with Multimedia systems and I believe never worked on a embedded safety system .
For me the interviewer asked lots of questions ,that is a huge MISRA violation for Embedded applications (Dynamic allocation ,recursion ,..etc) .
I think they have a set of questions to choose from regardless what the position is ,or maybe this could be more relevant for embedded C++ ,still it should be a MISRA violation to use things like this in a safety critical system .
I was also under prepared as I didn't expect I will be asked about Amazon leadership principles ,I should have been prepared for this because they tell you this in the e-mail MY FAULT ! ,anyways ,the interviewer asked situation questions and was keen on technical details ,again with both of us from different backgrounds it didn't help me explaining things like AUTOSAR ,MPU ,ASIL safety concept,Diagnostics ,and soo ,which also took some time and the interviewer was not impressed ,take care also about the time ,they have number of questions they need to cover if you take lots of time answering ,this is from your time,so try to give basic technical examples that would be relatable to all embedded systems .
Situation questions :
- (Time important)tell me about a time you had a project under tight deadlines ,what the sacrifises you made and what was the Impact on final delivery ?
-(Dive deep)Tell me about a time you had to do in depth thought and dive deep and analyses a problem ,what was the outcome ,and would you have done things differently ?
Technical questions :
- where is (automatic !)local variables stored ,heap or stack ?
- where is dynamic allocated variables ,heap or stack ?
- which is better for a for loop ,count up or count down ?should be count down because some processors are faster comparing to zero .
- for a video game what kind of buffers should we use ?(answer :circular buffers!)
- what is RTOS used for ?
Live coding session :
- Implement the Linked list Push and pop functions . (Note : take care of pointer to pointer to struct )
Rejection mail was sent the next working day ,so my advice if you really want this be very prepared ,read about your interviewer background to try and answer relatively ,prepare yourself very much with situations ,solve lots of Leetcode examples even if they don't look very relevant to embedded systems .