리스트 예시: 게시물이 존재할 경우 3건을 노출합니다.
-
Javascript Algorithm
leetcode 141 Linked List Cycle (JS)
Hi! Long time no see.Today, I studied linked lists. I think they’re kind of difficult for me, but I’m trying to organize what I’ve learned.Before I explain the problem, I want to say — this problem actually reminds me of one of my life mottos.It’s a Korean saying: “People who are meant to meet will meet someday.”It means that if someone is meant to be a part of my life, I’ll eventually meet them..
-
Javascript Algorithm
1768. Merge Strings Alternately (JS)
hi. I've solved a problem related to strings.It was simple, so I solved it right away. I'm so happy! Anyway, I'm going to explain this problem.There are two strings, and you need to combine them character by character, not string by string.However, some strings have different lengths.So, regardless of whether their lengths match or not, you should merge them one character at a time. Here’s my so..
-
Javascript Algorithm
1071. Greatest Common Divisor of Strings (JS)
hi. I have another question about a LeetCode problem.First, please check what the problem is.It's quite a simple one, but it was hard to implement in code.I'm not an AI, so it's really difficult to explain in a programming language.I tried using the substr and includes methods,but they didn't work properly.They couldn't cover all the cases.So... I googled the answer and re-realized the power of ..