This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function toCombine(A: number[]): number[] { | |
| A.push(A[0]); | |
| A.splice(0, 1); | |
| return A; | |
| } | |
| class ANDEquation { | |
| private counter: number = 0; | |
| restoreY(A?: number[]): number { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| List<int> toCombine(List<int> A) { | |
| A.add(A[0]); | |
| A.removeRange(0, 1); | |
| return A; | |
| } | |
| class ANDEquation { | |
| int _counter = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function say (msg) { | |
| console.log(msg); | |
| } |