Received offer from sales force for a LMTS role for hyd office.
But could not take it as they were not open to me working from banglore , when they interviewed me they told that location is not a problem , they told that until april 2022 i can work from banglore but post that i had to relocate to hyderbad once they finalized the offer , so since my parents were 70 yrs and would find it difficult to relocate to hyd i politely declined the offer.
my current compensation is 40 lacs/annum + 100 stocks per year totalling upto 70 lakhs per annum
they were willing to offer upto 20% hike in salary and stocks in a similar fashion.
System design :
they started with tinyURL design then the interviewer asked for contingency scenarios like
Contigency scenarios:
region going down [read replicas has to be used in multiple regions , DNS load balancing to split traffic ]
DDOS attack prevention - using API gateway / load balancer for rate limiting
Microservices architecture - using API gateway to ensure autoscaling and abstraction.
he also asked me about Ansible + terraform and why they are being used instead of shell script.[ idempotency , state maintenance ].
in leet code
Coding:
1.two sum problem
2.k frequent words
3.Excel column numbers [you have to provide numbers for excel column. A- 1, B-2....Z-26, AA-27...]
4.encoding , decoding , given a string and 2 differnet number system , a source number system and a dest number system , decode the string from the source numbr system and encode it using the destination number system.
for eg
9 123456789 f30
9 is the number encoded in a number system which is denoted by 123456789.
we need to decode it and encode using the destination number system f30 .