Game Rules: The game board 18x18 and is initialized with random colors. Each turn the player must choose a color and type it in (red (r), blue (b), green (g), yellow (y)) The top left cell is the starting cell. The new color (that the player chose) spreads to all the neighbors of the starting cell which have the same color as it does. To win, the board must be of one color and at a maximum of 21 moves. The player loses if after 21 moves the board is not colored in a single color. Instructions The implementation should be coded in Python, you can use any package that might help you. No need to create GUI, just find a coloring package for the CLI. Basic inputs are (r- red, b - blue, g - green, y - yellow), you can use standard input and expect the user to press Enter. You can use the internet freely for python and libraries docs and info. Very important: please pay special attention to code structure, code readability and take into consideration OOP design principals. This task usually takes 1.5 hours from our experience, if necessary you can have more time up to 2.5 hours. If you've finished ahead of time, please let me know. Feel free to ask me any question that you might have, don't waste time on stuff that you are not sure about - just ask me.
Senior Software Interview Questions
75,746 senior software interview questions shared by candidates
I was asked below React scenario: 1) Fetch a list API (from dummy API) 2) Create a table to show data 3) Call details API and show against each item with comma separated items. 4) coding question using recursion 5) Few theoretical questions like contolled vs uncontrolled component. 5) Pure vs not pure component. 6) few more theoretical questions on React.
Parse a structured log file using appropriate data structure
Design a system that writes to a datastore. How to synchronize it?
3. What is Graceful Restart in OSPF?
Code pairing on an algorithmic exercise.
- company portal, 3 exercises of computer science, like LeetCode, easy and medium difficulty level - the portal allow you to check if the code passes test cases, which is helpful to prevent distractions. - another CS/Leetcode like exercise, medium difficulty.
What is your view on diversity and equality?
We are a fast-moving company that tries things first without excessive planning beforehand. Could you handle it?
Very normal. Normal jcl cobol DB2 questions
Viewing 2261 - 2270 interview questions