Software Engineers Interview Questions

419,688 software engineers interview questions shared by candidates

Implement method oneEditApart that return boolean: true, if using one operations (insert or remove or replace) we can modify one string to get another. False otherwise. // Signature: boolean oneEditApart(String s1, String s2) // Allowing operations insert remove replace Example: oea("cat", "cut") => true // replace "u" -> "a" oea("cat", "cuts") => false // no operations oea("ca", "ca") => false // no operations oea("cats", "cat") => true // remove "s" oea("cat", "at") => true // insert "c" oea("cat", "cbat") => true // remove "b"
avatar

Software Engineer, Android

Interviewed at Meta

3.5
Jun 4, 2014

Implement method oneEditApart that return boolean: true, if using one operations (insert or remove or replace) we can modify one string to get another. False otherwise. // Signature: boolean oneEditApart(String s1, String s2) // Allowing operations insert remove replace Example: oea("cat", "cut") => true // replace "u" -> "a" oea("cat", "cuts") => false // no operations oea("ca", "ca") => false // no operations oea("cats", "cat") => true // remove "s" oea("cat", "at") => true // insert "c" oea("cat", "cbat") => true // remove "b"

You have a 4 x 4 board with words. For example: A B G H O L L E E R T Y G E F Y You need to write a function that finds if a certain word exists in the board. The rules are as followed: 1. Each character needs to be close to one another (neighbor cell). For example: The function will return false for the word HERE but true for the word HEY.
avatar

Software Engineer

Interviewed at Meta

3.5
Feb 21, 2016

You have a 4 x 4 board with words. For example: A B G H O L L E E R T Y G E F Y You need to write a function that finds if a certain word exists in the board. The rules are as followed: 1. Each character needs to be close to one another (neighbor cell). For example: The function will return false for the word HERE but true for the word HEY.

The questions are easy and common, but I was very disappointed with the second phone interviewer. The first interviewer was very nice and supportive. The first question was to return the value of a roman number given in a string. The question for the second phone interview was to print out the paths to all leaves of a binary tree.
avatar

Software Engineer

Interviewed at Meta

3.5
May 3, 2013

The questions are easy and common, but I was very disappointed with the second phone interviewer. The first interviewer was very nice and supportive. The first question was to return the value of a roman number given in a string. The question for the second phone interview was to print out the paths to all leaves of a binary tree.

Viewing 2221 - 2230 interview questions

Glassdoor has 419,688 interview questions and reports from Software engineers interviews. Prepare for your interview. Get hired. Love your job.