Ai Software Engineer Interview Questions

585 ai software engineer interview questions shared by candidates

Design a Smart Fridge in the programming language of your choice. Your fridge should be able to handle adding products and removing products Each day, product items in the fridge decrease in quality: Each product item starts with quality of 10 and spoils at quality 0"fruit" or "vegetable" products decrease in quality by 2 points every day"milk" or "meat" products decrease in quality by 3 points every day"non-perishable" products don't decrease in quality at allWhen a product's quantity (not quality) hits 0, your fridge should alert the user to buy more of that productWhen a product item is close to spoiling (quality<=2), your fridge should alert the user every dayTest cases: Adding 1 chicken on one day, removing it the next day, try to remove it the day after. Adding 1 water bottle, 2 chickens, 1 apple on one day, simulate 3 days, display content Hints you can provide as needed: you can assume there is a cron method which is nvoked once a day, and wil cal whichever method is being used to reduce the quality of items.
avatar

Software Engineer & AI Data Scientist

Interviewed at Hootsuite

3.1
Oct 11, 2024

Design a Smart Fridge in the programming language of your choice. Your fridge should be able to handle adding products and removing products Each day, product items in the fridge decrease in quality: Each product item starts with quality of 10 and spoils at quality 0"fruit" or "vegetable" products decrease in quality by 2 points every day"milk" or "meat" products decrease in quality by 3 points every day"non-perishable" products don't decrease in quality at allWhen a product's quantity (not quality) hits 0, your fridge should alert the user to buy more of that productWhen a product item is close to spoiling (quality<=2), your fridge should alert the user every dayTest cases: Adding 1 chicken on one day, removing it the next day, try to remove it the day after. Adding 1 water bottle, 2 chickens, 1 apple on one day, simulate 3 days, display content Hints you can provide as needed: you can assume there is a cron method which is nvoked once a day, and wil cal whichever method is being used to reduce the quality of items.

Viewing 381 - 390 interview questions

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