Software Engineering Associate Interview Questions

56,371 software engineering associate interview questions shared by candidates

code in the language of your choice: A site has 4,320,000 users. The users are sequentially numbered -- each user has a user_id between 1 and 4320000. You want to slowly roll out a new feature to all users, at a consistent rate of X users per second. The roll-out should start at noon today, beginning with the newest user (id 4320000). The rollout should last two days, so user_id 1 gets the feature around noon two days from now. $Write a function to determine whether the feature is currently enabled for a given user_id: can_use_new_feature(int user_id) -> bool.
avatar

Director of Site Reliability Engineering

Interviewed at Tumblr

3.9
Apr 2, 2014

code in the language of your choice: A site has 4,320,000 users. The users are sequentially numbered -- each user has a user_id between 1 and 4320000. You want to slowly roll out a new feature to all users, at a consistent rate of X users per second. The roll-out should start at noon today, beginning with the newest user (id 4320000). The rollout should last two days, so user_id 1 gets the feature around noon two days from now. $Write a function to determine whether the feature is currently enabled for a given user_id: can_use_new_feature(int user_id) -> bool.

This isn't really the most difficult question i've ever heard but... Say you have the following classes class A { public String doIt() { return "A"; } } class B extends A { public String doIt() { return "B"; } } class C { public static String doIt() { return "C"; } } class D extends C { public static String doIt() { return "D"; } } Now consider the following code snippet A b = new B(); String s1 = b.doIt(); C d = new D(); String s2 = d.doIt(); What will be the values of s1 and s2?
avatar

Engineering

Interviewed at Charles River Development

3.7
Dec 27, 2011

This isn't really the most difficult question i've ever heard but... Say you have the following classes class A { public String doIt() { return "A"; } } class B extends A { public String doIt() { return "B"; } } class C { public static String doIt() { return "C"; } } class D extends C { public static String doIt() { return "D"; } } Now consider the following code snippet A b = new B(); String s1 = b.doIt(); C d = new D(); String s2 = d.doIt(); What will be the values of s1 and s2?

Viewing 571 - 580 interview questions

Glassdoor has 56,371 interview questions and reports from Software engineering associate interviews. Prepare for your interview. Get hired. Love your job.