My LeetCode grinding. Trying to do a problem a day.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. #!/bin/bash
  2. cd problems
  3. for f in */; do
  4. dir=${f%*/}
  5. if [ -d ${dir} ]; then
  6. echo ""
  7. echo "Running Problem: $dir"
  8. cd $dir
  9. ./run.sh
  10. cd ..
  11. fi
  12. done