Magic Spells

  • + 0 comments

    All most all code examples in hackerrank C++ are

    1. Lacking proper variable naming conventions.
    2. Lacking proper const conrrectness and use of const refereces where ever possible.
    3. careless use of copy and having too many memory leaks. 4.Lot of redundancy in problem information ex:- some problems give you length of string as input and then the string. why ? you can find the length directly from the string alone.

    These do become important when you do real world programming for production quality code.

    just FYI:-