I noticed that you are new to this forum and that you have kindly attempted to help a few campers by providing them with solutions for the FCC challenges.
There are many learners on the forum who are attempting to learn to code and for them to do well and absorb the process of writing and debugging code, they need to use the forum to get advice/hints/tips to help them reach their full learning potential. Based on known studies though, learners will only be hampered if they are prevented from forming their own conclusions (by the sharing of full code solutions). And ultimately this may cause them to fail to become standalone programmers.
Given this, the posted solutions have been removed and we kindly ask you to refrain from posting solutions to the forum in future.