Great progress in the course so far! Here’s some feedback on sets to help improve your code~
Remember to pass in all of the required arguments (ex. max_size) when initializing a class object. Check your methods in Set for how you are creating sets, using Set(). Did you pass in max_size?
When you call class methods, remember to use self.name_of_method() to call it! Otherwise, it will be undefined.
Making note of time and space complexities is best practice. You will be asked to do this in interviews. I recommend doing so for your set functions :)
Great progress in the course so far! Here’s some feedback on sets to help improve your code~