Skip to content

Add day17#63

Merged
summer2788 merged 1 commit intomainfrom
17일차_Jongeun
Jul 19, 2024

Hidden character warning

The head ref may contain hidden characters: "17\uc77c\ucc28_Jongeun"
Merged

Add day17#63
summer2788 merged 1 commit intomainfrom
17일차_Jongeun

Conversation

@summer2788
Copy link
Contributor

Day-17 / 박종은

문제 번호

  1. 40_CombinationSumII
  2. 90_SubsetsII
  3. 215_KthLargestElementinanArray

(Optional) 공유하고 싶은 내용

90. Subsets II

for (int i = start; i < nums.size(); i++) {
            if (i > start && nums[i] == nums[i - 1]) {
                continue;
            }

when you make the subset that do not allow duplicate elements,
you can use step as an index and like this you can hop the duplicate index.

215. Kth Largest Element in an Array

you can solve it using quick sort's partition method

@summer2788 summer2788 self-assigned this Jul 18, 2024
@summer2788 summer2788 linked an issue Jul 18, 2024 that may be closed by this pull request
@github-actions
Copy link

우측에 있는 Projects, Milestone, Development를 확인 후 할당 해주세요~! 🙇

Copy link
Member

@jihostudy jihostudy left a comment

Choose a reason for hiding this comment

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

훌륭하십니다.
형님 DAY18인것 같습니다만..?

Copy link
Collaborator

@kinwjdghks kinwjdghks left a comment

Choose a reason for hiding this comment

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

시간여행을 하는 종은씨

@summer2788 summer2788 merged commit 3a7b4ec into main Jul 19, 2024
@summer2788 summer2788 deleted the 17일차_Jongeun branch July 19, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[DAILY] 17일차

3 participants