Ai Software Engineer Interview Questions

6,136 ai software engineer interview questions shared by candidates

It is based on Python nested list question. Basically a nested list is given as input. Consider it as a board, now here we simulate a game function where the box (represented as #) falls if they hit an obstacle ['*'] then they are destroyed we need to give the final output for a given input positions of a board. Input: [['#', '-', '#'], ['*', '#', '*'], ['#', '-', '-']] Output: [['-', '-', '-'], ['*', '-', '*'], ['#', '#', '-']]
avatar

AI Tutor

Interviewed at x.ai

4.2
Dec 9, 2024

It is based on Python nested list question. Basically a nested list is given as input. Consider it as a board, now here we simulate a game function where the box (represented as #) falls if they hit an obstacle ['*'] then they are destroyed we need to give the final output for a given input positions of a board. Input: [['#', '-', '#'], ['*', '#', '*'], ['#', '-', '-']] Output: [['-', '-', '-'], ['*', '-', '*'], ['#', '#', '-']]

Viewing 4101 - 4110 interview questions

Glassdoor has 6,136 interview questions and reports from Ai software engineer interviews. Prepare for your interview. Get hired. Love your job.