Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Please find attached. My answer differed slightly when compared to the solution. I interpreted the application of the 250/500k exclusion differently than the instructions and treated it as a deduction against the capital gain amount. Which I think is the correct.