Manraj-Mann / Hacktoberfest-DSA-Codes

Add the DSA codes in any language in defined folder to maintain a repository to help students learn DSA
9 stars 52 forks source link

Removing Stars From a String using stack #85

Open Anjali-Chaudhary3 opened 1 year ago

Anjali-Chaudhary3 commented 1 year ago

You are given a string s, which contains stars *.

In one operation, you can: Choose a star in s. Remove the closest non-star character to its left, as well as remove the star itself. Return the string after all stars have been removed.

Anjali-Chaudhary3 commented 1 year ago

@Manraj-Mann can i contribute to this?

aayan14 commented 1 year ago

Hey @Manraj-Mann Can you assign me this issue?

Manraj-Mann commented 1 year ago

@Manraj-Mann can i contribute to this?

Yes

Manraj-Mann commented 1 year ago

Hey @Manraj-Mann Can you assign me this issue?

Okkk sure

aayan14 commented 1 year ago

Hey @Manraj-Mann Please check the PR #91