• 0

Programmers: Your favorite interview questions


Question

I haven't seen one these posts yet on this forum(if there is forgive me : )), but I figured to help out more people looking for programming work I would start a post for employers who are looking to hire new programmers what kind of questions you guys ask. I'm the technical director at a small game studio in LA, and were expanding so I also looking to see what everyone does so I can adjust accordingly.

Some of the basic questions I ask are:

What is global scope/local scope.

What is a template class

What is inheritance/polymorphism/etc.

Than some really basic logic stuff like whats a recursive function, etc etc.

Than I begin to ask a couple questions that are kind of off the wall because one thing I noticed is College graduates from big schools such as UCLA 9/10 can't figure stuff for themselves. Students are so used to stuff getting spoon fed to them, some of which is just nasty. One thing that really irritated me at one of the studios I worked at previously a couple of there senior programmers came to me and said "I don't know how to do xyz, can you help?" This normally is a pretty common thing, except when xyz happens over and over again and its something that easily be found by doing a quick google search.

I ask the interviewee if they can do something that 99% of the programmers out there can't do. They would obviously say I don't know, I would then ask them than to look it up for me on google and write out basic steps on how to get it done. Lets say I ask them how to register a custom Debug Engine in Visual Studio, first google search for "visual studio custom debug engine" which turns up http://msdn.microsof...4(v=vs.80).aspx , with a link to http://msdn.microsof...(v=vs.110).aspx. Even though the information on the latter article is actually wrong if they copied that I would be so happy. I've had guys sit there for 10 minutes struggling, and I feel that's kind of ridiculous. Every programmer in world should know how to use google :/.

Than depending on the level of the job, I would go into some more nitpicker things say in Unreal, Unity, D3D, whatever and if someone didn't know the answer I would ask them to google it and give me an explanation. I had actually had one guy who didn't graduate from a college, straight out of high school and he didn't know something I asked him, and than he immediately asked if he could go on google and look it up. I actually hired him on the spot and he ones of the best programmers I've ever had.

Anyway what kind of stuff do you guys ask?

Recommended Posts

  • 0

Well, there is our main difference: Im not passionate about code, I just want to write code to get me paid :)

 

as a sysadmin that takes care of hundreds of servers, that attitude bothers me; i've seen software made by top companies in my country so badly done and inefficient that hurts the clients (wallets), like requiring 16GB of RAM in a server just for an app, as an example i've recently found, not even mentioning the amount of RAM for SQL, etc.

 

funny thing is: when i questioned one of the project managers of one of those companies about the lack of optimization and high resources, the amount of crap that came out of his mouth showed what that they care is the paycheck, not the costumers (short signed because now they are gonna lose this same client).

  • 0

For weighing a recursive implementation versus iterative, there are several factors to consider. But in the end, if it's a perf critical path, the real answer is "measure, measure, measure."

The point in the explicit stack + iteration case I gave though is that it is just a recursive solution expressed explicitly. You are just reimplementing the call stack by hand and that's basically always going to be slower in practice than letting the memory be handled by the call stack. There are numerous reasons why, such as, algorithmic choices for the manual stack implementation, sanity checking when pushing/popping, introducing additional subroutine calls; or to say it another way: you increase the operation count & moved from direct stack allocation (via the call stack) to using heap allocation (via the explicit stack).

 

Going back to what I was originally saying, in terms of it taking more time to write efficient code versus not: all you are really doing in these types of cases is spending a lot of time trying to optimize out recursion for not because in the end you just end up re-implementing a recursive solution that looks iterative. And what's more is that it is less efficient in practice but doesn't look like it is to many people outside of compilers so the "efficient" implementation ends up staying in the code base  ;)

  • 0

as a sysadmin that takes care of hundreds of servers, that attitude bothers me; i've seen software made by top companies in my country so badly done and inefficient that hurts the clients (wallets), like requiring 16GB of RAM in a server just for an app, as an example i've recently found, not even mentioning the amount of RAM for SQL, etc.

 

funny thing is: when i questioned one of the project managers of one of those companies about the lack of optimization and high resources, the amount of crap that came out of his mouth showed what that they care is the paycheck, not the costumers (short signed because now they are gonna lose this same client).

At the end of the day the most important thing is the paycheck. Well actually making sure that your customers keep buying your product which gives you a paycheck.

Note the words: I said "making sure your customers keeping buying your product". I never said anything about "making sure your customers are happy". Big difference.

But at the end of the day, I guess people that like to program dont worry about the paycheck too much and do want to make their customers happy.

  • 0

We don't look for programmers, we look for solution providers, individuals that are passionate about the code they write, the way they work with other developers as well as our end users. They are valued contributors to the success of the company, not just a room full of 'coders'. Do I care if they can split a TIF image and do page manipulation in an interview. Nope... even though that might be their first problem. I care about how they think about problems and how they go about learning the things they don't know.

And that's the kind of attitude from a company that I look for in an interview. The interview process tells me a lot about the type of people that work there, and I want to work with, as you say, passionate solution providers, not "coders". I find the very idea that my job is to "produce code" abhorrent. I usually first try to solve problems by deleting code, actually, i.e. "do we really need to do this? is this code still relevant? can this be done more simply?" Code is technical debt, the less the better.

  • 0

 

I'll be honest, guys like you stand out like a sore thumb in interviews. Maybe not where you are located, but certainly in my shop. There is difference between telling someone what you think they want to hear and having a thoughtful discussion about writing code and solving problems. We don't look for programmers, we look for solution providers, individuals that are passionate about the code they write, the way they work with other developers as well as our end users. They are valued contributors to the success of the company, not just a room full of 'coders'. Do I care if they can split a TIF image and do page manipulation in an interview. Nope... even though that might be their first problem. I care about how they think about problems and how they go about learning the things they don't know.

 

That was good to read and im glad there are still companies and people out there who get this.  You need people who can just get in and code but innovation and building the sort of culture that fosters creativity, cultivates new developments and just the capacity to think outside the box to deliver client solutions, those aren't the qualities you find by asking a lot of the questions in this thread.

  • 0

If I was then I would give them a Fizz Buzz Test + Write Simple Function to print Manager - Employee Hierarchy with Reporting Level (hint : Recursive). I have seem 99% applicants failing that.

 

I'm not an interviewer, but if I was I think I would always start with the Fizz Buzz Test. Filtering out 99.5% of incompetents with such a simple question is appealing :)

  • 0

FizzBuzz is BS. Everyone knows it. It's a stock question.

My current go to question is to write (language agnostic) the logic for expressing a given monetary value using the least notes and coins possible.

It's ridiculously easy but it let's you see how they work, the way they optimise code.

  • 0

FizzBuzz is BS. Everyone knows it. It's a stock question.

My current go to question is to write (language agnostic) the logic for expressing a given monetary value using the least notes and coins possible.

It's ridiculously easy but it let's you see how they work, the way they optimise code.

 

You'd be surprised how many get FizzBuzz wrong  :laugh:

Your monetary value question, is that not a just a division and modulus question (not really thought about, but it can't be more complicated than that can it?)

  • 0
Your monetary value question, is that not a just a division and modulus question (not really thought about, but it can't be more complicated than that can it?)

 

It CAN be.  But it's how they do it.

 

I've had people loop with a while statement to see if the outstanding > 0, or I've had people loop through an array of denominations, heck I've had one person write way too many if statements.

 

My personal favourite (when I was solving it) was to define a class of denomination that has a rendered value and an actual value, a type of coin or note, etc.  Create an array of denominations representing the locale's currency.  Sort the array (highest to lowest) using a function to sort by the denominations actual value.  Then for each denomination, divide the outstanding balance by said value, floor it, subtract that amount.  Move to next.

  • 0

It CAN be.  But it's how they do it.

 

I've had people loop with a while statement to see if the outstanding > 0, or I've had people loop through an array of denominations, heck I've had one person write way too many if statements.

 

My personal favourite (when I was solving it) was to define a class of denomination that has a rendered value and an actual value, a type of coin or note, etc.  Create an array of denominations representing the locale's currency.  Sort the array (highest to lowest) using a function to sort by the denominations actual value.  Then for each denomination, divide the outstanding balance by said value, floor it, subtract that amount.  Move to next.

 

I hate these tests and I would probably fail most of them. However I love coding, it's a passion. And I love to learn. My opinion: a lot of companies are just missing out on pretty damn good and passionate developers. I've seen my share of code monkeys, non-user centric and lazy developers who do pass these tests. To me, they don't prove much.

 

And to answer the original question "Programmers: Your favorite interview questions": none! Just let me write useful code dammit! :rofl:

  • 0
I hate these tests and I would probably fail most of them. However I love coding, it's a passion. And I love to learn. My opinion: a lot of companies are just missing out on pretty damn good and passionate developers. I've seen my share of code monkeys, non-user centric and lazy developers who do pass these tests. To me, they don't prove much.

 

This isn't about code, it's proven itself to be about how well developers understand what is being asked.  Seriously, I have had some abhorrent interviewees recently!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Visual Studio finally gets long-awaited feature that developers will love by Usama Jawad Visual Studio Code is Microsoft's popular, lightweight, open-source code editor, it is actually Visual Studio that is the company's flagship integrated development environment (IDE). Although the IDE already offers a boatload of useful features for developers, Microsoft has finally introduced a long-requested capability that will be loved by many. While developers have already been able to create Git pull requests (PRs) directly within Visual Studio for the past couple of years, it had not been possible to review a PR without switching to the browser, until now. Microsoft revealed in December 2025 that it is working on UX that enables developers to do just that, and fast-forward to June 2026, and Visual Studio finally has native capabilities to open and inspect a PR, discuss feedback, and wrap up the review, all without switching to the browser. This integration works for both GitHub and Azure DevOps (including on-prem). Developers have access to multiple surfaces to open a PR, including Git Repository, Git Changes, and the Git menu in Visual Studio. Once you open a PR, all the important details will be immediately visible to you, from where you can navigate to various levels of granularity and branch states, depending on the reviews that you are engaged in. As you would expect, you also get a diff view that enables you to see code changes inline or side-by-side in a separate panel. You can also review commit-by-commit. Additionally, this UX fosters collaboration as you can leave comments, reply to threads, and resolve conversations easily. Naturally, you can also leverage Copilot to apply a code suggestion to fix a potential issue. When you are done, you have the ability to approve, complete, and merge the PR. This is a pretty major feature as it has been requested heavily for the past few years. You can try it out in Visual Studio 2026 version 18.7, made available here recently. Microsoft plans to enhance this experience further in future releases with comment filtering, a timeline of PR activity, and more.
    • This AdGuard Family lifetime deal is still only $15.97 by Steven Parker Today's highlighted Neowin Deal comes via our Apps + Software section, where you can get a lifetime subscription and save 90% on a lifetime AdGuard Family Plan. AdGuard is a unique program that has all the necessary features for what they claim to be "the best web experience." The software combines the an advanced ad blocker, a privacy protection module, and a parental control tool—all working in one app. This software deals with annoying ads, hides your data from a multitude of trackers, protects you from malware attacks, and even lets you restrict your kids from accessing inappropriate content. Install AdGuard and see the internet as it was supposed to be: clean and safe. Get rid of annoying banners, pop-ups & video ads once and for all Hide your data from the multitude of trackers & activity analyzers that swarm the web Avoid fraudulent and phishing website and malware attacks Protect your kids online by restricting them from accessing inappropriate & adult content Good to know Family Plan Length of access: lifetime This plan is only available to new users Redemption deadline: redeem your code within 30 days of purchase Max number of devices: 9 Access options: desktop & mobile Software version: AdGuard Family Updates included A lifetime subscription of AdGuard Family Plan normally costs $169.99, but this deal can be yours for just $15.97, that's a saving of $157.02. For full terms, specifications, and license info please click the link below. Get this AdGuard Family lifetime deal for just $15.97 (was $169.99) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. As an online publication, Neowin too relies on ads for operating costs and, if you use an ad blocker, we'd appreciate being whitelisted. In addition, we have an ad-free subscription for $28 a year, which is another way to show support! Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • the MCT currently downloads 26200.8653, so not completely up to date.
    • Around 68% of developers are now using AI to generate code during development, and some experts are saying that a single developer using AI tools can now do the work of an entire team of 4 to 5 engineers.  According to Figma's State of the Designer 2026 report, 72% of designers now use generative AI in their workflows and 91% say it improves the quality of their work, not just their speed.  But does this mean web developers and designers are becoming less relevant, or are they simply evolving into a different kind of role? Would love to hear from developers and designers here has AI made your job easier, or do you feel threatened by how fast these tools are improving
  • Recent Achievements

    • Week One Done
      Timaximus earned a badge
      Week One Done
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
    • Week One Done
      davidbazooked earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      PsYcHoKiLLa
      179
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!