codesignal-tasks/file-naming-task
given an array of desired filenames.Since two files cannot have equal names, the one which comes later will have an addition to its name in a form of (k), where k is the smallest positive integer such that the obtained name is not used yet.
given an array of desired filenames.Since two files cannot have equal names, the one which comes later will have an addition to its name in a form of (k), where k is the smallest positive integer such that the obtained name is not used yet.
Read full text or abstract (240 characters)
Cite this record
MLA
"codesignal-tasks/file-naming-task." Software Heritage origin index (GitHub origins), n.d., https://git.go-v.org/record/codesignal-tasks%2Ffile-naming-task.
Chicago
"codesignal-tasks/file-naming-task." Software Heritage origin index (GitHub origins). n.d.. https://git.go-v.org/record/codesignal-tasks%2Ffile-naming-task.
APA
Software Heritage origin index (GitHub origins). (n.d.). codesignal-tasks/file-naming-task. https://git.go-v.org/record/codesignal-tasks%2Ffile-naming-task
Share card · JSON record · Cite this record (BibTeX) · Embed