[List] Swap pair nodes.
[LCP] Longest common prefix.
[String] Determine valid number using DFA.