Рет қаралды 79,676
This video explains two simple and efficient methods to solve the longest common prefix problem by using simple loops and second method uses trie. The code link is given below. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
CODE LINK (1st method): www.geeksforgeeks.org/longest...
CODE LINK (Trie): www.geeksforgeeks.org/longest...