Hey guys I am trying to solve on problem in javascript and I am stuck at
taking input from stdin. The question will provide an integer N (number of
test cases) followed by N lines. I can't figure out how to take input in
this particular way.
3
hello
world
bye
I have seen some solutions but those are not working in my case. I can't
mimic the same behaviour. It should ask for the N and then run the loop N
times that takes input from the user and returns the solution for the
particular test case
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/eea8abe2-28ed-4861-8468-db375c912e15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.