# Vind de bug: Flutter > Eén stukje code. Vind de bug, of bewijs dat er geen is. Dagelijkse challenge: 2026-08-19 (UTC) · Mid-Level ```dart class PriceCalculator { List applyDiscount(List prices, double discount) { for (int i = 0; i < prices.length; i++) { prices[i] = prices[i] * (1 - discount); } return prices; } } void main() { final original = [10.0, 20.0, 30.0]; final calc = PriceCalculator(); final discounted = calc.applyDiscount(original, 0.1); print(original); } ``` ## Jouw oordeel - Beveiligingslek - Logicafout - Codestijl - Geen probleem Eén poging per dag. Het antwoord verschijnt direct daarna. --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/nl/dagelijkse-challenge/flutter