Bird
0
0

If a percentage split is defined as {'A': 55, 'B': 50} for a total amount of 100, what is the primary issue with this configuration?

medium📝 Analysis Q7 of 15
LLD - Design — Splitwise (Expense Sharing)
If a percentage split is defined as {'A': 55, 'B': 50} for a total amount of 100, what is the primary issue with this configuration?
AThe sum of percentages exceeds 100%
BThe percentages are less than 100%
CUser B's percentage is invalid because it's less than 60%
DThe total amount is too low for the split
Step-by-Step Solution
Solution:
  1. Step 1: Calculate total percentage

    Sum = 55 + 50 = 105%
  2. Step 2: Identify issue

    Percentages exceeding 100% is invalid in split strategies.
  3. Final Answer:

    The sum of percentages exceeds 100% -> Option A
  4. Quick Check:

    Sum of percentages must be exactly 100% [OK]
Quick Trick: Percentages must sum to 100% exactly [OK]
Common Mistakes:
  • Ignoring that total percentage cannot exceed 100%
  • Assuming individual percentages can be arbitrary

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes