The process is good, but it's up to you how well you have prepared your DSA and some extra skills, like in networking, SQL, and OS. You should also be familiar with some latest tech.
About segment trees.
The following metrics were computed from 98 interview experiences for the Amazon Software Development Engineer role in India.
Amazon's interview process for their Software Development Engineer roles in India is very selective, failing most engineers who go through it.
Candidates reported having very good feelings for Amazon's Software Development Engineer interview process in India.