...

/

Challenge 1: Append Hearts

Challenge 1: Append Hearts

In this challenge you have to create a vector whose every element contains the string "<3" replicated the number of times mentioned in the input vector.

Problem Statement

Implement the function hearts() that takes a vector as input and returns a vector whose each element is ...