Software Engineer Intern Interview Questions

9,334 software engineer intern interview questions shared by candidates

You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contains a single digit. Add the two numbers and return them as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself. Example: Input: (7 -> 2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 8 -> 0 -> 7
avatar

Software Engineer Intern

Interviewed at Intel Corporation

3.9
Oct 7, 2020

You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contains a single digit. Add the two numbers and return them as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself. Example: Input: (7 -> 2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 8 -> 0 -> 7

Viewing 9271 - 9280 interview questions

Glassdoor has 9,334 interview questions and reports from Software engineer intern interviews. Prepare for your interview. Get hired. Love your job.