I had two rounds - the first was behavioral and the second was a coding challenge on HackerRank. The problem lies in the second round. I took the coding challenge on my own and I could not crack it within the given time. But I know a lot of people who crack it by taking help from friends who are good at coding. In fact it is the friends who do the coding and not the actual candidate. This is totally unfair - you lose for being ethical. I think it is high time the company reviewed its hiring process.
I applied through college or university. I interviewed at Visa Inc. (Bengaluru)
Interview
The interview lasted around 30 minutes. It started with a coding question, and I was given about 5 minutes to solve it. After that, the interviewer asked a logical puzzle, followed by questions on Object-Oriented Programming concepts. I was then asked to implement inheritance in Java. Finally, I was given a binary search problem and was expected to explain the approach from the brute-force solution to the optimal solution while discussing the time complexity of each approach. Overall, the interview focused on coding, problem-solving, Java fundamentals, and algorithm optimization.
Interview questions [1]
Question 1
Coding Question: Given two integers a and b, generate a string containing the characters 'a' exactly a times and 'b' exactly b times such that no character appears more than two times consecutively.
I applied online. I interviewed at Visa Inc. (Warsaw, Masovia)
Interview
Reasonable interview. Basic implementation of DSA such as implement a Stack in your preferred IDE. Some theory questions regarding the coding language such as types and defaults. Ex. what are possible visibility keywords in Java and what is the default
Interview questions [1]
Question 1
Ex. what are possible visibility keywords in Java and what is the default
2 medium (string, arrays) and 1 dictionary (hard problem). all leetcode level questions. Interview was in hacker rank with camera on.
The Challenge: Design a data structure to store the strings' count with the ability to return the strings with minimum and maximum counts. Implement a class that increments a string's count, decrements a string's count, gets the key with the maximum count, and gets the key with the minimum count—all in \(O(1)\) time complexity.