My LeetCode grinding. Trying to do a problem a day.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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