For those interested in working in the US, here is a timeline I followed. YMMV.
Oct 2014 – Dec2014
Interview training.
Dec 01 2014 – Jan 01 2015
Job application/preliminary HR screening interviews.
Jan 15 2015 – Jan 31 2015
Telephonic Interviews/online tests/peer-coding (2-3 different screenings)
Feb 15 2015 – Feb 25 2015
B1/B2 visa application / travel arrangements for onsite interview
Mar 01 2015 – Mar 02 2015
Flight to SF
Mar 03 2015 – Mar 05 2015
March – 4X – Onsite Interviews (flights + 2-3 nights fully funded with meals reimbursements)
Mar 07 2015 – Mar 10 2015
Offer Decision/negotiation-Acceptance
Mar 15 2015 – Mar 22 2015
Document submission to lawyer
Mar 31 2015 – Apr 01 2015
Petition for work permit submission
May 04 2015 (~)
Petition selection / result
August 25 2015 (~)
Petition approval notice
Sep 4 2015 (~)
I-797 Approval doc
Sep 10 2015 (~)
I-797 and other documents package
Sep 14 2015
Visa stamping
Sep 20 2015
flights, protractor, funds arrangement
Sep 29 2015
Flight
Sep 30 2015
land in SF
Oct 01 2015 – Oct 10 2015
settle down
Oct 12 2015
first day at job