It definitely isn't. Using someone else's code without actively engaging in the process of developing an algorithm yourself is not a good practice. What if you encounter a specific problem in the future that doesn't already have an existing solution? You will likely face difficulties in finding a way forward. Additionally, if an interviewer asks you to solve a similar problem and you solely rely on someone else's code, it will significantly decrease your chances of getting the job.
It definitely isn't. Using someone else's code without actively engaging in the process of developing an algorithm yourself is not a good practice. What if you encounter a specific problem in the future that doesn't already have an existing solution? You will likely face difficulties in finding a way forward. Additionally, if an interviewer asks you to solve a similar problem and you solely rely on someone else's code, it will significantly decrease your chances of getting the job.
This comment is hidden because it contains spoiler information about the solution