Sort 35 Discussions, By:

Sorry, you do not have a permission to answer to this question.

  • anitaleung 9 years ago + 3 comments

    I spent way too long trying to debug my code when my entry was wrong for printing out "Hello World" instead of "Hello World!". The problem asks to print out "Hello World", could this please be fixed?

    Add Reply Preview cancel

    Sorry, you do not have a permission to answer to this question.

    • Devenney 9 years ago + 0 comments

      Agreed. I fell into the same trap.

      Add Reply Preview cancel

      Sorry, you do not have a permission to answer to this question.

      • Disruption 9 years ago + 0 comments

        Plus one to this. It's not really that bad, but it's definitely wrong :)

        Add Reply Preview cancel

        Sorry, you do not have a permission to answer to this question.

        • heatherbooker 9 years ago + 0 comments

          Isn't this a significant concept in programming? Be exact, specific and precise? :/ This was really frustrating! Please do fix it ASAP!

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

        • zemien 9 years ago + 3 comments

          Having only used JS for basic website stuff, I have not seen the setup code like this:

          process.stdin.resume();
          process.stdin.setEncoding("ascii");
          _input = "";
          process.stdin.on("data", function (input) {
              _input += input;
          });
          
          process.stdin.on("end", function () {
              processData(_input);
          });
          

          What is this process object, and is it available everywhere?

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

          • PRASHANTB1984 9 years ago + 2 comments

            This part is a standard template, only written to help folk get started with JavaScript programs on our website, without bothering about how we're handling the STDIN/STDOUT.

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

            • hit0405 9 years ago + 0 comments

              where do i get videos related to the course.

              Add Reply Preview cancel

              Sorry, you do not have a permission to answer to this question.

              • natarajs_nitk 9 years ago + 0 comments

                Some comments like in the 'Solve Me First' Javascript challenge would have been of much help.

                Add Reply Preview cancel

                Sorry, you do not have a permission to answer to this question.

              • JeffWeakley 9 years ago + 2 comments

                I love the idea of Hackerrank. I have studied javascript off and on for about a year. I'm certainly not great at it. But whenever I decide to do one of these, I'm often confused from the directions about what they're even asking me to do.
                Couldn't it just say 'write a function that prints "Hello World" to the console?' Something easily understood like that? There are 2 possible examples, no real specific challenge, and then a line that says "Try it out in the console below!" Try what out? Retype one of those?

                Add Reply Preview cancel

                Sorry, you do not have a permission to answer to this question.

                • AllisonP 9 years ago + 1 comment

                  Thank you for the feedback; we're working to overhaul and improve instruction quality. Is there something you would like to have seen in this particular challenge?

                  Add Reply Preview cancel

                  Sorry, you do not have a permission to answer to this question.

                  • linkon 9 years ago + 0 comments

                    Can you provide a video tutorial for this challenge like in 30 Days of Code?

                    Add Reply Preview cancel

                    Sorry, you do not have a permission to answer to this question.

                  • AllisonP 9 years ago + 0 comments

                    I updated the problem statement.

                    Add Reply Preview cancel

                    Sorry, you do not have a permission to answer to this question.

                  • fakdora 7 years ago + 0 comments

                    I wonder why that snippet is being shown for printing "Hello World" problem. totally unneccesary

                    Add Reply Preview cancel

                    Sorry, you do not have a permission to answer to this question.

                  • giacgbj 9 years ago + 0 comments

                    "Hello World!" is different from "Hello World" -_-'

                    Add Reply Preview cancel

                    Sorry, you do not have a permission to answer to this question.

                    • TopazJ 9 years ago + 0 comments

                      Having the JS template to read input when there's none given is going to be confusing (and looks more complicated than need be) to newcomers. Maybe the stdin template should be removed entirely, or put "Hello World!" as input and allow us to use it in:

                      function processData(input) {
                          console.log(input);
                      } 
                      

                      Add Reply Preview cancel

                      Sorry, you do not have a permission to answer to this question.

                      • denisstoyanov 9 years ago + 0 comments

                        "Try it out! Write a function that prints Hello World in the console below."

                        There is a missing exclamation mark after "Hello World", since the submission is expecting "Hello World!"

                        Add Reply Preview cancel

                        Sorry, you do not have a permission to answer to this question.

                        1. Challenge Walkthrough
                          Let's walk through this sample challenge and explore the features of the code editor.1 of 6
                        2. Review the problem statement
                          Each challenge has a problem statement that includes sample inputs and outputs. Some challenges include additional information to help you out.2 of 6
                        3. Choose a language
                          Select the language you wish to use to solve this challenge.3 of 6
                        4. Enter your code
                          Code your solution in our custom editor or code in your own environment and upload your solution as a file.4 of 6
                        5. Test your code
                          You can compile your code and test it for errors and accuracy before submitting.5 of 6
                        6. Submit to see results
                          When you're ready, submit your solution! Remember, you can go back and refine your code anytime.6 of 6
                        1. Check your score