See also: LLM Prompts, Prompts for critical and philosophical thinking

Please review given code. Consider:

  1. Code quality and adherence to best practices
  2. Potential bugs or edge cases
  3. Performance optimizations
  4. Readability and maintainability Suggest improvements and explain your reasoning for each suggestion.