• Naive Approach:
  • Optimized Approach:
  • Performance Notes: