First you get picked based on your CV, then you get an interview with a manager. During the interview with than manager if the manager wants you to join the team they will give you a coding task. if you complete coding task better than other candidates recruiter will send you an offer.