Coding HS
Table of Contents
Overview
The TSA Coding event is an on-site event where teams of 1-2 people compete against other teams in a 2-hour coding challenge. The challenge will usually consist of 5 problems.
Rules
- Only one laptop and set of peripherals (mouse, display, keyboard, etc.) is allowed
- Only certain languages can be used. They are listed in the themes and problems section of the TSA official website
- There will be no WiFi during the competition
- Using a third party library is not allowed and will result in a point deduction
- You may not communicate with anyone other than your teammate during the competition
- You cannot prepare code before the competition. All code must be written during the competition
- The time at which you submit shouldn’t matter
Competing
A good submission has the following qualities:
- All five problems are solved correctly
- The logic of the code is easy to follow
- The code is clean and readable
- The solution is efficient
Coding is a team partner event so make sure you work well with your partner. Use comments and proper conventions so your code is readable.
Most importantly, practice as much as you can with websites like LeetCode or HackerRank.
Additional Tips
- Use an IDE or code editor
- VS Code, Atom, Eclipse, and Notepad++ are all good open-source text-editors you should try out if you haven’t already
- Charge your laptop, as running out of battery during the competition would be really bad. You may bring a portable charger
- Submit your folder with your Team ID and the files with the problem numbers. Example: Problem1.java, Problem2.java, etc
- Eat, drink, and use the restroom before the competition
Examples
- Coding examples Washington state and nationals from Andy
- Coding example Washington state Jakob and John 2022