Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(composeExercise.js): keep same-Cangjie questions; make question a…
…dvancing O(1) time The question 叭 (口金; rc) was inaccessible due to its Cangjie code being the same as 只 (口金; rc). This issue is fixed by using an Array for MapCharacterTable.questList. * MapCharacterTable() * make this.questList an array (LIFO) * reverse the iteration of `this.questList`-building `for` loop * MapCharacterTable.prototype.getCharacterAndAlphabet() * simplify question advancing by using Array.prototype.pop() * overwrite input table with the answer of the current question for handling characters with the same Cangjie code within the same stage
- Loading branch information