Software Developer New Grad Interview Questions | Glassdoor.ca

Software Developer New Grad Interview Questions

8

Software developer new grad interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How to multiply a number by 7 without using + and * operators?

3 Answers

use bit shifting.

n=n<<3-n

do the left.bit shift operation by 3 and then subtract the result by original number . eg: n=1 ,then n=n<<3 -n gives 7 , if n=2 ,then gives 14

Can't disclose actual questions due to NDA, but they consist of the following: 1. Medium - Hard Leetcode style questions 2. Linux debugging 3. Storage System 4. Test plan style questions