I hereby claim:
- I am esco on github.
- I am esco (https://keybase.io/esco) on keybase.
- I have a public key ASBUFgepSRzEr-xiHms-JaDghmonHJbBE8ZwvrsQZ4bUlgo
To claim this, I am signing this object:
[ | |
{ "keys": ["super+right"], "command": "next_view" }, | |
{ "keys": ["super+left"], "command": "prev_view" }, | |
{ "keys": ["ctrl+z"], "command": "move_to", "args": {"to":"hardeol", "extend":false}} | |
] |
{ | |
"name": "express-device", | |
"author": { | |
"name": "Rodrigo Guerreiro", | |
"url": "@rguerreiro" | |
}, | |
"description": "Browser detection library, built on top of express", | |
"keywords": [ | |
"browser", | |
"mobile", |
player1 deck - d1 | |
player2 deck - d2 | |
d1_e == e(ki, d1) | |
d2_e == e(ki, d2) | |
p1 <-- d1, d2_e | |
p2 <-- d2, d1_e | |
seed - s |
0xe757E4deFDC56De8ab339fD912b16711C1B5380D |
I hereby claim:
To claim this, I am signing this object:
function backspaceCompare(S, T) { | |
const s = evaluate(S) | |
const t = evaluate(T) | |
return s === t | |
}; | |
function evaluate(str) { | |
const output = [] | |
for (const char of str) { | |
if (char !== '#') { |
function createStore(reducer, preloadedState) { | |
let state = preloadedState | |
const idPool = [0] | |
const listeners = new Map() | |
function getState() { | |
return state | |
} | |
function subscribe(listener) { |
function SequencePool(start=0, _next=(num)=>num+1) { | |
let pool = [start] | |
function next() { | |
let item = pool.pop() | |
if (!pool.length) { | |
pool.push(_next(item)) | |
} | |
return item | |
} |
// https://leetcode.com/problems/valid-parentheses/solution/ | |
/** | |
* @param {string} s | |
* @return {boolean} | |
*/ | |
function isValid(s) { | |
const stack = [] | |
const open = { | |
"(": true, |