Environment:

  • Install PHP7
  • Add 'php' as environment variable.

Problem 1: Lexicalgraphical Numbers

  • How to run : "php -f lexicographical_numbers/main.php"
  • Input your number and press enter to get result

Problem 2: Water Trap

  • How to run : "php -f water_trap/main.php"
  • Input your numbers that seperated by commas(,) and press enter to get your Trap number