Had to do this long skills assessment.
- First was seeing how many math questions you could solve in 2 minutes.
- The second was testing logic/math.
- LC programming questions that you could do in any language.
- The last was learning a made up programming language and answering questions about it. "What is the value of 1 + 1 * 3 / 2 + 7 # 12 in MIIS?"
coding questions:
- cows & bulls game: https://leetcode.com/problems/bulls-and-cows/description/
- A "product seed" of a positive integer is defined as a number that, when multiplied by the product of its digits, equals the original number. Write a function that takes a positive integer as input and determines whether it has any product seeds. If it does, print all the product seeds; otherwise, indicate that there are none.
- A well-ordered number is defined as a number where the digits are in strictly increasing order from left to right.
Write a function that takes the number of digits as input and returns all well-ordered numbers with that many digits.
- A snake sequence is defined in a grid where the absolute difference between adjacent cells in the sequence is 1.
Write a function that, given a square grid of integers, finds and prints the longest snake sequence. The sequence should be printed in order.