Amazon Interview Experience (Onsite)

Amazon Interview Experience (Onsite)
I had 4 interviews in Amazon Chime. Each one was 55 mins, the first 30 mins were about behavior questions(2-3) and only 25 mins for technical.
Technical: 
Given pattern (ex: “ShC” ) and dictionary:
“ShipClass”,”SchoolClass”,”Traeler”,”Class”
Return list of strings matching this patern like:
ShC -> “ShipClass”, s->”ShipClass”,”SchoolClass”,”Class” TL->””

Design Twitter
Oop: design FileFinder
Given a social network and 2 people, find the shortest friends path between them
Behaviors:
The time when you fail commitment,
The time when measuring customer experience
The time when you got bad feedback from your manager
The time when you help a teammate
The time when you innovate something
The time when you pushing your idea
The time when your idea was rejected
Tips: 
Behavior questions take lots of time, and it’s very important to have different prepared stories for them. You can you same story for different questions if you can show the required aspect.
On the technical part, the most important thing is the idea, because you have only 25 mins. 
You will not have a compilator, so small mistakes in syntax are not so important.
You should write clean code, but always ask the recruiter if he wants you to implement methods or not. it will help you to save time and focus on important parts.
Good luck!