aayushi-droid / Edabit-Solutions

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

Maskify the String #313

Closed Hackerbone closed 3 years ago

Hackerbone commented 3 years ago

Before jumping into Pr first comment for assign.

Problem statement : Create a function that takes a string, transforms all but the last four characters into "#" and returns the new masked string.

Examples: maskify("4556364607935616") ➞ "############5616" maskify("64607935616") ➞ "#######5616" maskify("1") ➞ "1" maskify("") ➞ ""

Probelm Link : https://edabit.com/challenge/2MAr9P4TTGooXS8Xa Choose one Cateorgy - Easy question category : String manipulation


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,

Hackerbone commented 3 years ago

Please assign me this task. @aayushi-droid

shivangigoel1302 commented 3 years ago

Can you assign this to me? I would like to do it in C++

Hackerbone commented 3 years ago

@aayushi-droid sent a PR , pls merge