Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[이지민] - 민겸 수, 이모티콘 할인 행사 #208

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Conversation

jeeminimini
Copy link
Member

📌 from issue #206 📌

📋문제 목록📋

민겸 수: ✅
이모티콘 할인 행사: ✅

@jeeminimini jeeminimini requested review from bngsh and jhg3410 February 25, 2024 10:56
@jeeminimini jeeminimini self-assigned this Feb 25, 2024
println(minResult)
}

private fun changeToDecimal(first: Int, last: Int, mgValue: String, maxResult: StringBuilder) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

최대랑 최소랑 겹치는 부분을 따로 함수로 빼서 깔끔하네요!!

Comment on lines +13 to +14
getCombination(0, emoticons.size, mutableListOf<Int>())
makeDiscountPrices(emoticons)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

함수를 역할별로 나눠서 필요한 값들을 다 구하고 마지막에 답을 갱신하는 흐름이 좋았워요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공감합니다!

Comment on lines +13 to +14
getCombination(0, emoticons.size, mutableListOf<Int>())
makeDiscountPrices(emoticons)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공감합니다!

@jeeminimini jeeminimini merged commit 35eacd9 into main Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants