Jerry interview question

They gave me a task and asked me to write the entire function in JavaScript without using AI in the process, and then send the entire function to them as an attachment in the email after writing it.

Interview Answer

Anonymous

8 June 2025

In this era of AI popularity, I did not use AI to help me complete this assignment as required by them, and considered and conceived the readability, scalability and code review. This interview question is not very simple. It needs to consider many boundary values ​​from negative infinity to positive infinity and even includes integers and irrational numbers. But I did not get the opportunity for the next round of interviews. After I was rejected, I used AI to help me analyze my code. I did not consider several boundary values. I realized that the interviewer may not have checked my code, and may have just run the test case and found errors, so he stopped my interview process directly. I am a little self-deprecating, because I think that without the help of AI, some omissions are in line with human thinking logic, but this sincerity did not bring me the opportunity for the next round of interviews. In the current and even future work, I believe that AI + human thinking will be the future way of working, and AI has become an indispensable part in daily work. Compared with using search engines to debug bit by bit before, using AI to complete 90% of the work, and then manually solving tasks that AI cannot solve (deep debugging, AI logic traps) will become a daily routine. So this interview taught me a lesson: sincerity does not necessarily get you the opportunity for the next round of interviews. After all, in this busy era, it is difficult for interviewers to have time to carefully look at your interview code. First of all, your code must pass the test cases.