Facebook Interview Report
- -1of 1 vote
AnswersDesign copy-on-write string class
- ajay.raj May 22, 2017 in United States
e.g. stringclass s("abc");
stringclass s1 = s; // no copy
s = "bcd"; // copy| Report Duplicate | Flag | PURGE
Facebook SDE1 - 0of 0 votes
AnswersGiven n1, n2 is the number after removing one digit from n1. Example, n1 = 123, then n2 can be 12, 13 or 23.
- ajay.raj May 22, 2017 in United States
If we know the sum of n1 + n2, and find the possible values of n1 and n2.
public List<List<Integer>> getNumber(int sum){
}| Report Duplicate | Flag | PURGE
Facebook SDE1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.