Software Engineer Interview Questions

467,307 software engineer 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.

Viewing 2181 - 2190 interview questions

Glassdoor has 467,307 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.