re: shouting
@vaporeon_ reported.
re: shouting
@vaporeon_ IT'S BEAUTIFUL 🥹
/**
* @param {character[][]} grid
* @return {number}
*/
var numIslands = function(grid) {
const seen = new Set;
const R = grid.length, C = grid[0].length;
let count = 0;
for (let x = 0; x < R; ++x)
for (let y = 0; y < C; ++y)
if (!seen.has(`${x}-${y}`) && grid[x][y] === '1')
(function crawl(grid, x, y, seen) {
if (x < 0 || x >= R || y < 0 || y >= C) return;
const key = `${x}-${y}`;
if (seen.has(key)) return;
seen.add(key);
if (grid[x][y] === '0') return;
crawl(grid, x + 1, y, seen);
crawl(grid, x, y + 1, seen);
crawl(grid, x - 1, y, seen);
crawl(grid, x, y - 1, seen);
})(grid, x, y, seen), count++;
return count;
};
re: shouting
@vaporeon_ a special javascript syntax that lets you declare and execute a function simultaneously :DDDDD
@coriander still love battlefield 1 tho
@coriander battlefield games are Clusterfukcs
@vaporeon_ It suddenly occurs to me that I, too, do not understand how refrigerators work
@amy I don't know why people choose to post Bull Shit on mastodon. That's what twitter is for
@amy @wallhackio lmao dyslexia got me a gain
@amy fuck
@amy please tell me Singin in the Rain is on there
@vaporeon_ Paws!
@coriander if this were slightly less obtuse i would add it to my bio immediately
Everyone on the internet (not you if you can read this [except caleb]) is so fucking exhausting
@coriander I found Vault 22 without being directed there by another quest by complete accident while trying to find something else and my disappointment at not finding what I was looking for was quickly healed
@coriander I did somehow miss Vault 11 entirely and that one gets a lot of praise
@coriander the fuck are you talking about golbin https://glitch.cat.family/@wallhackio/114978132386697620
i go by Clodsire, Clodboy and Catwin.
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
"the thing you need to understand about @wallhackio is that he is utterly sick in the head. this is partially a compliment. but not entirely" ~aescling
28+
he/him