도메인 주도 μ„€κ³„μ˜ Aggregate Rootλ₯Ό μ„€κ³„ν•˜κ³  μœ μ§€ν•˜λŠ” 법

Aggregate Root λŠ” 도메인 λ‹¨μœ„μ΄μž, μš°λ¦¬κ°€ ν˜„μ‹€ 세계λ₯Ό κΈ°μˆ ν•˜λŠ” λͺ…세이기도 ν•©λ‹ˆλ‹€. 정적인 μ½”λ“œκ°€ 동적인 세계와 κ²°ν•© λ˜μ–΄ λ³€ν™”ν•˜λŠ” μ‹œμ μ„ νŒŒμ•…ν•˜κ³ , 그것을 톡해 λͺ¨λΈμ„ λ„μΆœν•˜λŠ” 것은 μ„œλΉ„μŠ€λ₯Ό κ°œλ°œν•˜λŠ” κ°œλ°œμžμ—κ²Œ μžˆμ–΄ κ°€μž₯ 큰 μΌμž…λ‹ˆλ‹€. κ·ΈλŸ¬λ‚˜, μ΄λŸ¬ν•œ 도메인 객체 섀계가 쒋은 λ°©ν–₯으둜 λ™μž‘ν•˜κΈ° μœ„ν•΄μ„œλŠ” 사전에 λ§Žμ€ μž‘μ—…μ΄ ν•„μš”ν•©λ‹ˆλ‹€. μ˜¬λ°”λ₯΄κ²Œ 각 μš”μ†Œλ₯Ό Aggregate Root둜 μͺΌκ°œκ³ , λ¬ΆλŠ” 방법은 λ¬΄μ—‡μΌκΉŒμš”.
Read more

Leetcode - Merge Intervals

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
Read more

Leetcode - Add Two Numbers

ou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.
Read more

Leetcode - Swap Nodes In Pairs

Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list’s nodes (i.e., only nodes themselves may be changed.)
Read more