Algorithm

Algorithm

[Leetcode] Swap Nodes in Pairs

Given a linked list, swap every two adjacent nodes and return its head.

---
Algorithm

[Leetcode] 3Sum Closest

Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target.

---
Algorithm

[Leetcode] 3Sum

Find all unique triplets in the array which gives the sum of zero.

---
Algorithm

[프로그래머스] 후보키

릴레이션을 나타내는 문자열 배열 relation이 매개변수로 주어질 때, 이 릴레이션에서 후보 키의 개수를 return 하도록 solution 함수를 완성하라.