<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://devrogues.github.io/</id><title>DevStory</title><subtitle>A minimal, responsive and feature-rich Jekyll theme for technical writing.</subtitle> <updated>2025-04-01T22:35:07+09:00</updated> <author> <name>DevRogues</name> <uri>https://devrogues.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://devrogues.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://devrogues.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2025 DevRogues </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>[TypeScript] 등장</title><link href="https://devrogues.github.io/posts/TypeScript-01/" rel="alternate" type="text/html" title="[TypeScript] 등장" /><published>2025-03-31T13:00:00+09:00</published> <updated>2025-03-31T13:00:00+09:00</updated> <id>https://devrogues.github.io/posts/TypeScript-01/</id> <content type="text/html" src="https://devrogues.github.io/posts/TypeScript-01/" /> <author> <name>DevRogues</name> </author> <category term="TypeScript" /> <category term="기초" /> <summary># 자바스크립트(Javascript) JavaScript는 원래 웹 페이지에 동적인 효과를 주기 위해 만들어진 스크립트 언어이다. 시간이 지나면서 웹 브라우저 내에서 실행되는 JavaScript의 성능을 높이고자 구글에서 V8 엔진(구글 크롬 브라우저에 내장) 이라는 것을 만들었다. 이것에 그치지 않고 V8 엔진의 기반으로 Node.js라는 플랫폼이 등장하였다. 자바스크립트의 단점 실행 시간에 결정되는 변수 타입 JavaScript는 변수의 타입이 실행 시간에 결정이 되는데 변수에 잘못된 타입의 값이 할당되어 발생한 오류를 찾기 위해서는 실행 시간에 변수의 값과 타입을 모두 확인해야 하는 번거로움이 있다. 오타 const obj = { latit...</summary> </entry> <entry><title>[C#] 알고리즘 3 (기타)</title><link href="https://devrogues.github.io/posts/CSharp-21/" rel="alternate" type="text/html" title="[C#] 알고리즘 3 (기타)" /><published>2025-03-27T13:00:00+09:00</published> <updated>2025-03-28T17:02:41+09:00</updated> <id>https://devrogues.github.io/posts/CSharp-21/</id> <content type="text/html" src="https://devrogues.github.io/posts/CSharp-21/" /> <author> <name>DevRogues</name> </author> <category term="C#" /> <category term="기초" /> <summary>동적 / 그리디 / 분할 동적 프로그래밍 ( Dynamic Programming ) 동적 프로그래밍은 큰 문제를 작은 하위 문제로 분할하여 푸는 접근 방식이다. 작은 하위 문제의 해결 방법을 계산하여 저장하고, 이를 이용하여 큰 문제의 해결 방법을 도출하다. 이러한 저장 과정을 “메모이제이션(Memoization)“이라고 하다. 동적 프로그래밍은 중복되는 하위 문제들을 효율적으로 해결하기 위해 사용된다. 일반적으로 재귀적인 구조를 가지며, 하향식(Top-down)과 상향식(Bottom-up) 두 가지 방법으로 구현할 수 있다. 동적 프로그래밍은 최적 부분 구조와 중복 부분 문제의 특징을 가진 문제들을 효과적으로 해결할 수 있다. // 문제: 피보나치 수열의 n번째 항을 구...</summary> </entry> <entry><title>[C#] 알고리즘 2 (탐색)</title><link href="https://devrogues.github.io/posts/CSharp-20/" rel="alternate" type="text/html" title="[C#] 알고리즘 2 (탐색)" /><published>2025-03-27T13:00:00+09:00</published> <updated>2025-03-28T17:02:41+09:00</updated> <id>https://devrogues.github.io/posts/CSharp-20/</id> <content type="text/html" src="https://devrogues.github.io/posts/CSharp-20/" /> <author> <name>DevRogues</name> </author> <category term="C#" /> <category term="기초" /> <summary>탐색 알고리즘 탐색 알고리즘 탐색 알고리즘은 주어진 데이터 집합에서 특정 항목을 찾는 방법 선형 탐색 ( Linear Search ) 선형 탐색은 가장 단순한 탐색 알고리즘이다. 배열의 각 요소를 하나씩 차례대로 검사하여 원하는 항목을 찾는다. 시간 복잡도: 최악의 경우 O(n) 배열의 처음부터 끝까지 하나씩 비교하여 검색하는 알고리즘 배열이 정렬되어 있지 않을 경우 사용 int SequentialSearch(int[] arr, int target) { for (int i = 0; i &amp;amp;lt; arr.Length; i++) { if (arr[i] == target) { return ...</summary> </entry> <entry><title>[C#] 알고리즘 1 (정렬)</title><link href="https://devrogues.github.io/posts/CSharp-19/" rel="alternate" type="text/html" title="[C#] 알고리즘 1 (정렬)" /><published>2025-03-27T13:00:00+09:00</published> <updated>2025-03-28T17:02:41+09:00</updated> <id>https://devrogues.github.io/posts/CSharp-19/</id> <content type="text/html" src="https://devrogues.github.io/posts/CSharp-19/" /> <author> <name>DevRogues</name> </author> <category term="C#" /> <category term="기초" /> <summary>정렬 알고리즘 주어진 데이터 세트를 특정 순서(대개는 숫자의 오름차순 또는 내림차순, 문자열의 사전식 순서)로 배열하는 방법을 제공. 선택 정렬 ( Selection Sort ) 선택 정렬은 배열에서 최소값(또는 최대값)을 찾아 맨 앞(또는 맨 뒤)와 교환하는 방법. 시간 복잡도: 최악의 경우와 평균적인 경우 모두 O(n^2) 공간 복잡도: O(1) (상수 크기의 추가 공간이 필요하지 않음) int[] arr = new int[] { 5, 2, 4, 6, 1, 3 }; for (int i = 0; i &amp;amp;lt; arr.Length - 1; i++) { int minIndex = i; for (int j = i + 1; j &amp;amp;lt; arr.Len...</summary> </entry> <entry><title>[C#] Nullable</title><link href="https://devrogues.github.io/posts/CSharp-18/" rel="alternate" type="text/html" title="[C#] Nullable" /><published>2025-03-26T13:00:00+09:00</published> <updated>2025-03-28T17:02:41+09:00</updated> <id>https://devrogues.github.io/posts/CSharp-18/</id> <content type="text/html" src="https://devrogues.github.io/posts/CSharp-18/" /> <author> <name>DevRogues</name> </author> <category term="C#" /> <category term="기초" /> <summary>Nullable Nullable은 C#에서 null 값을 가질 수 있는 값형에 대한 특별한 형식이며 값형은 기본적으로 null을 허용하지 않습니다. 값형 변수에 null 값을 지정할 수 있는 방법을 제공하여 값형이나 구조체를 사용하는 프로그램에서 null 상태를 나타낼 수 있습니다. 주로 값형 변수가 null인지 아닌지를 확인하고 처리해야 할 때 유용합니다. 형식은 ? 연산자를 사용하여 선언됩니다. 예를 들어, int?는 int 형식에 null을 할당할 수 있는 Nullable 형식을 나타낸다. // Nullable 형식 변수 선언 int? nullableInt = null; double? nullableDouble = 3.14; // null 값 검사 if (nullableDo...</summary> </entry> </feed>
