Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Ensuring Fast Delivery for Expensive Products | Terminal Operations in the Stream API
/
Introduction to Stream API
セクション 3.  13
single

single

bookChallenge: Ensuring Fast Delivery for Expensive Products

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

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.

  1. Filter the list of products, keeping only those with a price greater than 1000 using filter() method.
  2. Check if all filtered products have a delivery time of 5 days or less using allMatch().

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 3.  13
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt