- Find the longest subarray in an unsorted array that has an abs diff b/w adj Elem <= 1 after being sorted. My approach: sort and find subarray count of adj elements with abs diff <=1.
- Some variant of this https://leetcode.com/problems/k-diff-pairs-in-an-array/
Technical Round 1:
Technical Round 2:
- My introduction was stellar. Put serious thought into it. Mine was a sales pitch of myself.
- A variant of this https://leetcode.com/problems/uncommon-words-from-two-sentences/. Delimiters were comma, period, ?! And spaces. Hyphens to join words. Words are made of only [a-z][A-Z]. 0 TC Passed. Complimented my logic and thought process.
- SQL query to find second highest salary?
- Difference between SQL and NoSQL
- Difference between Process and Thread
- What’s keeping you from leaving VISA?
- Dropped some talking points from the pre-placement talk
- System Design problem. What to do if there are too many requests to a web server? Don’t know if they’re correct. I feel it was a more test to see your critical thinking and acquired knowledge.
- Load balancing
- Redundant Servers ready to deploy
- Caching requests
- What do you want to work in?
- Why do you want to join VISA?
- Asked what kept them at VISA? And what they’re objectives in their career?
Got a compliment and an offer the next day.
My Prep: ~100 LC Mediums and GeeksforGeeks Visa interview exp. Prepped core CS questions very well.
- For DSA, mention your time and space complexity before you start explaining your DSA problem. Write out a couple of test cases that you want to test your logic on, and why you chose those specific test cases. Make sure the interview is following your explanation if they’re quiet, ask them if they’re following or where you lost them. Be very vocal about your problem-solving logic.
- For Core CS, explain the need for something, where it’s useful, and then define it. Pros and cons if you can too. Other alternatives. Where you used them.
- For HR questions, give an example in your life where the questions are applicable. Use https://www.thebalancecareers.com/what-is-the-star-interview-response-technique-2061629 for those scenarios.
- Create an interview prep doc with hyperlinks and appropriate headings as a https://pastebin.com/SUYpwdX8.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.