Skip to content

Add longestCommonPrefix method in Solution class#204

Open
ruheena-shaik wants to merge 1 commit intoavinash201199:mainfrom
ruheena-shaik:patch-1
Open

Add longestCommonPrefix method in Solution class#204
ruheena-shaik wants to merge 1 commit intoavinash201199:mainfrom
ruheena-shaik:patch-1

Conversation

@ruheena-shaik
Copy link

Implement method to find the longest common prefix among an array of strings.

Summary

Short description of the change and why it is needed.

Related Issue

Resolves: # (if applicable)

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Other (please describe):

Checklist

  • My code follows the repository style
  • I have added necessary documentation (if appropriate)
  • I have added tests (if appropriate)
  • I have read the contributing guidelines

How to test

Steps to reproduce or verify this change. Include relevant commands and expected output.

Screenshots (if applicable)

Add screenshots to demonstrate the change.

Additional notes

Anything else the reviewer should know.

Implement method to find the longest common prefix among an array of strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant