← 返回 uber 的题目列表Shaker (Cocktail Shaker) Variant on an n×n Board
类型:online_judge
Problem: Cocktail Shaker Variant on an n×n Board
You are given an n × n board (with n a positive integer). This is a variant of a “cocktail shaker” problem, but the exact rules are not provided in the description.
Implement an algorithm according to the exact rules given in the interview and output the required result.
Input (to be completed)
An integer n (board size).
(Potentially: start/end coordinates, obstacles, movement rules, step costs, etc.; not included in the post.)
Output (to be completed)
Print whatever the problem asks for (e.g., minimum steps / a path / number of ways / reachability, etc.; not included in the post.)
Constraints (to be completed)
1 ≤ n ≤ ?
Examples (to be completed)
Not available because the rules are missing.