4
votes
Shortest Cell Path In a given grid
Style
Let's look at this conditional in shortestCellPathHelper.
...
2
votes
Finding strings in a matrix
I think one of the biggest opportunities here is to make this more generic with the use of templates. We should be able to look for a sequence of values of any type in a vector of vectors.
A ...
1
vote
Shortest Cell Path In a given grid
I realize you created this code as quickly as possible for an interview,
and your main focus was functionality. Here are some general coding style
suggestions.
Indentation
In the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
recursion × 1131python × 245
java × 220
c++ × 181
algorithm × 177
performance × 156
javascript × 104
c# × 102
programming-challenge × 77
beginner × 68
tree × 68
c++20 × 67
python-3.x × 62
c × 59
combinatorics × 49
strings × 48
functional-programming × 47
array × 41
template × 40
dynamic-programming × 34
haskell × 33
file-system × 30
sorting × 27
constrained-templates × 27
php × 25