Uniqueness Check

Anonymous
2,497 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Use

/*

  • Function hasUniqueChars2
  • Args - std::string
  • Output:: True if string has all characters which are unique
  •      False if string has at least one repeated char.
    
  • Assumption:: string only contains (a..z), 26 chars. */
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content