Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
6th → 0
5th → a, 1st → b, |a-b|=2
⛔Avoid
Jump(4,5) ≤ 2
6th → a, 1st → b, |a-b|=2
⟨⋯ 3 ⋯ 1 ⋯⟩
⟨? ⋯ 1 ⋯ (?+4) ⋯⟩ (?≠1)
⟨⋯ 4 ⋯ 2 ⋯ 3 ⋯⟩
#125034_v2.0
Q1(m=6) 2023-09-17
6543210
-------
0------
04-----
04----5
04---65
041--65
0413-65
0413265
#125034_v2.0
No comments:
Post a Comment