AMD
DVAMDInternshipTechnical Interview

Design Verification Intern

@ AMD

3

📝 Interview Question

Interviews at two teams: Design Verification 3 xla team Design 2 xla team

Leetcode two sum, what is segmentation fault how does it happen a = 10; b = a++; c = ++a;

printf("b = %0d \n c = %0d", b, c);

Debug this:

def minimum(some_list): a = 0 for x in range(1, len(some_list)): if some_list[x] < a:

███████████████████████████████████ █████████████████████████████████████████ ███████████████████████████████████████████████ ██████████████████████████████████████████████████ ████████████████████████████████████████████████████ ██████████████████████████████████████████████████ ████████████████████████████████████████████████ █████████████████████████████████████████████ ███████████████████████████████████████████ ███████████████████████████████████████████ █████████████████████████████████████████████ █████████████████████████████████████████████████ ████████████████████████████████ ███████████████████████████████████████ █████████████████████████████████████████████ ██████████████████████████████████████████████████ ████████████████████████████████████████████████████ ████████████████████████████████████████████████████ ███████████████████████████████████████████████████ ████████████████████████████████████████████████ █████████████████████████████████████████████ ████████████████████████████████████████████ █████████████████████████████████████████████ ████████████████████████████████████████████████ █████████████████████████████ ████████████████████████████████████ ███████████████████████████████████████████
🏢

Company

AMD

📍

Location

Markham, ON, Canada

📅

Posted

October 30, 2024

💬 Discussion (0)

Sign in and unlock this question to join the discussion.

No comments yet. Unlock this question to start the discussion.