Skip to content

Instantly share code, notes, and snippets.

View tantaroth's full-sized avatar

Eduard Andrés Ramirez Mesa tantaroth

View GitHub Profile
@tantaroth
tantaroth / index.ts
Created January 24, 2019 17:13
AND Equation (TypeScript)
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 {
@tantaroth
tantaroth / main.dart
Last active January 24, 2019 17:24
AND Equation
List<int> toCombine(List<int> A) {
A.add(A[0]);
A.removeRange(0, 1);
return A;
}
class ANDEquation {
int _counter = 0;
@tantaroth
tantaroth / show_message
Last active October 6, 2016 06:33
Script on Javascript - show info in console
function say (msg) {
console.log(msg);
}