Pregunta de entrevista de Canva

How can we write multiple strings to a file while keeping them separated?

Respuestas de entrevistas

Anónimo

15 de may de 2019

Base64 encode, and write them in a file line by line.

1

Anónimo

31 de ago de 2017

Hint: Using special characters, e.g. newlines, alone doesn't work well if you have arbitrary user inputs.

2

Anónimo

21 de mar de 2019

If arbitrary can be only text/string input, then any non-printable character should do the job.