Question description E-commerce detail page Swipe up and down. For each detail page, generate an AI summary by combining the user profile and product in…
There is a string of length N made only of letters a . Whenever there are two identical adjacent letters (e.g. aa ), they can be transformed into a sing…
You are given a table of people with three columns: Name , Start , and End . Each row represents an interval for a person. Create a second table with co…
Modify an Array Given an array of integers, the cost to change an element is the absolute difference between its initial value and its new value. For ex…
Let’s pretend we’re working on a computer vision project. In this project, librarians sent us videos of their bookshelves. Based on frames from these vi…
Amazon products are stored hierarchically within their respective categories. Products have various metadata, such as current price and whether they are…
Suppose you are given 2 unordered lists of Amazon products with product id, price and a gift coupon worth S amount. Can you write a function to find 1 p…
Like Button States A button can appear in three different states: normal , hovered , and clicked . In the normal state, the button is outlined with a ne…