Nirbhay Singhnirbhaycodes.hashnode.dev·Mar 5, 2024Strings - Longest Common PrefixLongest Common Prefix Problem Link: https://leetcode.com/problems/longest-common-prefix/description/ My approach: I sorted the array in the ascending order of the string sizes. Then I checked every character of the arr[0] with others strings. If t...DSA prepcodingAdd a thoughtful commentNo comments yetBe the first to start the conversation.