Challenge: Ensuring Fast Delivery for Expensive Products
Завдання
Swipe to start coding
In the store, there's a rule: if a product costs more than $1000, it must be delivered within 5 days. You need to check whether this rule is followed for all expensive products.
- Filter the list of
products
, keeping only those with aprice
greater than 1000 usingfilter()
method. - Check if all filtered products have a delivery time of 5 days or less using
allMatch()
.
Рішення
solution.java
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 13
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 2.33
Challenge: Ensuring Fast Delivery for Expensive Products
Свайпніть щоб показати меню
Завдання
Swipe to start coding
In the store, there's a rule: if a product costs more than $1000, it must be delivered within 5 days. You need to check whether this rule is followed for all expensive products.
- Filter the list of
products
, keeping only those with aprice
greater than 1000 usingfilter()
method. - Check if all filtered products have a delivery time of 5 days or less using
allMatch()
.
Рішення
solution.java
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 2.33Секція 3. Розділ 13
single