[LeetCode] 860. Lemonade Change - Python
·
코딩테스트
leetcode.com/problems/lemonade-change/ Lemonade Change - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 자바로 풀었던 문제, 파이썬으로 풀어보기 ! 먼저, 자바로 풀었던 내용 ⬇ class Solution { public boolean lemonadeChange(int[] bills) { int five = 0, ten = 0; for (int bill: bills) { if (bill == 5) five++; els..