employer cover photo
employer logo
employer logo

Visual Concepts (Novato, CA)

Part of 2K

Is this your company?

Visual Concepts (Novato, CA) Interview Question

You are given a programming exercise where you need to implement a function that divides an integer by 7, but cannot use the "x / 7" operation. "Divide by 7 is broken in compiler?"

Interview Answer

Anonymous

Apr 26, 2022

Well, you only have maybe 10 mins to do this, so you better have an answer before you walk through the door. A simple, albeit memory intensive implementation involves a lookup table.