Engineer I Interview Questions

6,857 engineer i interview questions shared by candidates

Made a "deep copy" function for the following class: public class Node { public String data; public List<Node> chain; } By "deep copy" he meant that each node in the chain needs to be a fresh copy, not the original nodes. That way modifying the original node will not change the copy in any way.
avatar

Software Development Engineer I

Interviewed at Amazon

3.5
Mar 5, 2013

Made a "deep copy" function for the following class: public class Node { public String data; public List<Node> chain; } By "deep copy" he meant that each node in the chain needs to be a fresh copy, not the original nodes. That way modifying the original node will not change the copy in any way.

Viewing 621 - 630 interview questions

Glassdoor has 6,857 interview questions and reports from Engineer i interviews. Prepare for your interview. Get hired. Love your job.