Java Tasks (In order)

  • Envelope the task is to write the app to print in console envelope

      **********************
      *  *              *  *
      *     *       *      *
      *         *          *
      *     *       *      *
      *  *              *  *
      **********************
    
  • Brackets check whether brackets sequence is valid
    • {}{}, {\{}}, {\{}{}} - are valid
    • }{, {}}, {}}{ - are not valid
  • Brackets check whether brackets sequence is valid, the same as the previous one, but count all possible pairs [](){}<>
  • Counting Valley from Hackerrank