Skip to main content

New answers tagged

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 ...
Chris's user avatar
  • 6,126
4 votes

Shortest Cell Path In a given grid

Style Let's look at this conditional in shortestCellPathHelper. ...
Chris's user avatar
  • 6,126
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 ...
toolic's user avatar
  • 16.4k

Top 50 recent answers are included