Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions climbing-stairs/Lustellz.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// week2 goal
1 change: 1 addition & 0 deletions top-k-frequent-elements/Lustellz.ts
Copy link
Contributor

@yhkee0404 yhkee0404 Aug 5, 2025

Choose a reason for hiding this comment

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

@SamTheKorean 이 파일처럼 비었지만 Merge 된 경우가 더 있네요: #1733 (review)

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// frequency is k times
14 changes: 14 additions & 0 deletions valid-anagram/Lustellz.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// week 2's goal
// only focusing on not using for... not a good approach :(

function isAnagram(s: string, t: string): boolean {
if(s.length !== t.length) return false
let sArray : string[] = s.split('').sort()
s = sArray.join('')
let tArray : string[] = t.split('').sort()
t = tArray.join('')
if(s === t) return true
else return false
Comment on lines +10 to +11
Copy link
Contributor

Choose a reason for hiding this comment

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

이렇게 줄여볼 수도 있겠어요:

Suggested change
if(s === t) return true
else return false
return s === t

Copy link
Contributor Author

Choose a reason for hiding this comment

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

오! 그렇게 축약하는 건 생각 못했어요.
의견 감사합니다!

};

// reflection: not to be hurry & have more time for pondering