How can I optimize the code?
# codereview
a
How can I optimize the code?