Skip to main content

All Questions

3 votes
1 answer
275 views

Is it considered a bad practice to oversize an array so that negative indices behave well?

I have been practicing implementing some classic dynamic programming algorithms and was wondering if my implementation of the longest common subsequence search has a significant code smell. In python,...
ncoish's user avatar
  • 133