TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Tips on How to Approach a Coding Interview Question

1 点作者 maybeiambatman将近 7 年前

1 comment

mikece将近 7 年前
Confidence, honesty, and a smile have always worked best for me. Having done a fair amount of contracting and consulting I have been on quite a few interviews and expect, in every case, to be asked questions to which I don&#x27;t know the answer; when I&#x27;m the interviewer I like to have questions more advanced for the position just to probe for an upper level of competence.<p>Don&#x27;t forget that an interview is a learning opportunity as well. Typically it&#x27;s not just whether you can answer the questions with an academically correct answer but whether you can then re-state that in your own words with confidence. And if you don&#x27;t know the answer, ask the interviewer what the answer is and write it down! This is good for three reasons: (1) it&#x27;s a great way to learn what the interviewer thinks is important to know for the job, and (2) it could be a question someone else will ask in a future interview so writing it down and studying sets you up for successful interviews later, and (3) you might know the answer but not the correct name. For example: years ago on an interview I was asked to describe what the Factory Pattern was and said I didn&#x27;t know. I then asked the interviewer to tell me so that I could study more about it as part of my professional self-study... but I realized from the description I had been doing this pattern but didn&#x27;t know the name for it. I explained this to the interviewer, gave examples of when I used it in my code and why (and I got an offer after that interview too).