Leetcode 2504. Concatenate the Name and the Profession
Given two strings for a person's name and profession, return a single concatenated, properly formatted string combining them according to the specified pattern (e.g., "name is a profession"), testing simple string manipulation and handling trivial edge cases like empty inputs.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.