in reply to Re^3: True Brute Force Longest Common Sub Sequence
in thread True Brute Force Longest Common Sub Sequence
Actually in the optimised version there are no nested loops and the overall complexity is greatly reduced. The non-optimised version certainly has embedded loops but as you show in the optimised version there is not any need for them because you are using a hash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: True Brute Force Longest Common Sub Sequence
by ikegami (Patriarch) on Nov 26, 2007 at 06:35 UTC | |
by tachyon-II (Chaplain) on Nov 28, 2007 at 00:06 UTC | |
by ikegami (Patriarch) on Nov 28, 2007 at 01:13 UTC |