aayushi-droid / Edabit-Solutions

Edabit Solutions using Cpp(C++)
MIT License
39 stars 154 forks source link

Letters Shared Between Two Words #5

Closed aayushi-droid closed 3 years ago

aayushi-droid commented 3 years ago

Before jumping into Pr first comment for assign.

Problem statement: Create a function that returns the number of characters shared between two words. Probelm Link: https://edabit.com/challenge/qeCS48GXtK9NJLc9C

sharedLetters("apple", "meaty") ➞ 2
// Since "ea" is shared between "apple" and "meaty".

sharedLetters("fan", "forsook") ➞ 1

sharedLetters("spout", "shout") ➞ 4

Before submitting a PR please Check some details.

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github Good Luck,

harisfi commented 3 years ago

I would like to work on this issue.

aayushi-droid commented 3 years ago
aayushi-droid commented 3 years ago