Find if an n by n tic tac toe game has a winner in constant time.
Engineer Intern Interview Questions
15,346 engineer intern interview questions shared by candidates
Invert a strings with special characters
to design a product the manages the user stream accounts, such as disney+, netflix.....
Q: Give an introduction please (at the beginning of the interview)
Given a graph, tell if it is a tree.
What have you been up to?
leetcode question with binary operators
pourriez vous nous parler plus sur ton dernier projet
What do you like and dislike about engineering.
To see if a number is divisible by 3, you need to add up the digits of its decimal notation, and check if the sum is divisible by 3. To see if a number is divisible by 11, you need to split its decimal notation into pairs of digits (starting from the right end), add up corresponding numbers and check if the sum is divisible by 11. For any prime p (except for 2 and 5) there exists an integer r such that a similar divisibility test exists: to check if a number is divisible by p, you need to split its decimal notation into r-tuples of digits (starting from the right end), add up these r-tuples and check whether their sum is divisible by p. Given a prime int p, find the minimal r for which such divisibility test is valid and output it. The input consists of a single integer p - a prime between 3 and 999983, inclusive, not equal to 5.
Viewing 1081 - 1090 interview questions