| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Algorithms & Data Structures Discuss algorithms & data structures. Topics are not specific to any programming language. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need help in printing or even knowing the position of the LCS of two strings ;
i hve used a recursive function but it causes for some cases a stack over flow ; any ideas how to avoid this from happening ? |
|
#2
|
||||
|
||||
|
Re: Printing LCS
Use a non-recursive function? Seriously, you should be able to convert your recursive function into a non-recursive one using loops.
Viggy |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|