왹져박사의 실험실🧪

  • 홈
  • 태그

알고리즘/수업 과제 2

[알고리즘] 재귀함수

재귀함수의 대표적인 예 팩토리얼과 피보나치수열로 재귀함수를 연습하였다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace reflexive { class Program { static void Main() { int input = 5; int factorial = Factorial(input); Console.WriteLine("{0}! = {1}", input, factorial); int fibpnacci = FibonacciN(input); Console.WriteLine("{0}번째 항 : {1}", input, fibpna..

알고리즘/수업 과제 2023.02.08

[C# 알고리즘] 무방향 그래프 2차원 배열로 구현하기

1: 서울 2: 대구 3: 대전 4: 부산 가중치 x using System; using System.Linq; namespace Graph { class Node { public string data; public Node(string data) { this.data = data; } } class Graph { private Node[] nodes; int[,] maps; public Graph(int n) { this.nodes = new Node[n]; maps = new int[n+1, n+1]; } public void AddVertex(Node node) { this.nodes.Append(node); } public void AddEdge(int n0, int n1) { maps[n0, n..

알고리즘/수업 과제 2023.01.30
이전
1
다음
더보기
프로필사진

왹져박사의 실험실🧪

! C++ 클라이언트 개발자 생활 중 ! 🐱‍💻

  • 분류 전체보기 (315) N
    • 스터디 (18)
      • 컴퓨터구조 (7)
      • 디자인패턴 (4)
      • 운영체제 (5)
      • 자료구조&알고리즘 (1)
    • UnrealEngine5 (21) N
      • 공부 (15) N
      • 프로젝트 (6)
    • C++ (17)
      • 공부 (11)
      • 수업 내용 (5)
    • 알고리즘 (123)
      • 백준 BOJ (119)
      • 자료구조 (2)
      • 수업 과제 (2)
    • 탐구생활 (14)
      • XR (4)
      • 가치관 (1)
      • TODO List (2)
      • 게임 (4)
      • SteamOS (1)
      • 독서 (1)
    • Unity Project (17)
      • <teamECHO> 4-1 (6)
      • <team Not Same> 꿈의 왕국 : 영원한.. (11)
    • Unity (47)
      • 수업내용 (16)
      • 수업과제 (5)
      • Shader (4)
      • 문제 해결 (11)
      • GooglePlay (3)
      • AI (1)
      • UGS (1)
      • 공부 (4)
      • XR (1)
    • C# (50)
      • 수업내용 (38)
      • 수업과제 (7)
      • 문제해결 (1)
      • !부족한 부분! (3)

Tag

gas, 백준, Engine, 디자인패턴, 문제해결, gpgs, Unreal, pj, Console, 유니티, xr, CS, vr, 꿈의왕국, Unity, BOJ, C++, c#, 스터디, 컴퓨터구조,

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바