Which leet code or hackerrank?

Fairly straight forward question.

So have a problem that requires me to work with a fixed sized grid, and return a grid values equal to the sum of all adjescent cells.

I was wondering if this is represented in any hackerrank or leetcode problem. My original thinking is some sort of breadth first or depth first but it doesn't really require any path therefore probably rules these two out? Although it's a fairly simple problem comparatively just wondering if it existed as a leetcode or hackerrank for reference.

Cheers

submitted by /u/jjharrison21
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/37tHh8p

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close