Machine test on javascript Questions on node js & react
Sr Engineer Interview Questions
107,506 sr engineer interview questions shared by candidates
Build a small REST application from their spec. Answer some questions about my design choices and how it would scale.
What is your daily activity?
1. Can you extend main method in Java? 2. Explain how hashmap works internally? 3. Relation between hash code and equals? 3. Difference between StringBuffer/StringBuilder? 4. Code to check the frequency of word occurrence? 5.Code to implement a country/state list generation logic? Follow-up - country name can have aliases 6.Spring bean wiring.
What's the name of the file where you manage your application.
Explain Discussion Room booking code logic's on the board?
questions regarding Object Oriented JavaScript
The 2-player game of Drawdown is played with N groups of stones. There is a group of stones belonging to player 1 at index 0, a group of stones belonging to player 2 at index N - 1, and groups of stones at indices [1..N-2] that have no specific owner. At the start of each game, a set of size k containing all valid moves is presented. Moves can be reused. Each move is represented by an array of N integers, with each integer representing the number of stones at the corresponding position the move adds or removes from the collection. All moves are guaranteed to reduce the total number of stones, even though they may increase the number of stones within an individual group. After no more moves can be completed (i.e. there are not enough of the required types of stones to remove to complete any move), the player with the greater number of their own stones remaining is declared the victor. If both players have the same number of stones, then player 2 wins to compensate for the disadvantage of going second. Example: Let's say the game begins with a board of [6, 4, 2, 4]. These are the available moves provided: [-2, -2, 1, 0] [-4, -4, 0 ,0] [0, 0, -2, -2] Initial board: [6, 4, 2, 4] Player 1 performs move 1. New board: [4, 2, 3, 4] Player 2 can either perform move 1 or move 3. They decide to perform move 1. New board: [2, 0, 4, 4] Player 1 performs move 3 (which is the only move available). New board: [2, 0, 2, 2] Player 2 is now forced to perform move 3. New board: [2, 0, 0, 0] The game is now over and player 1 is the winner.
Where you want to see ur self in 5 years
How much experience have you had with Generative and other AI?
Viewing 2181 - 2190 interview questions