알고리즘(2)
-
자료구조,알고리즘,코딩테스트
완전탐색, 그래프( dfs,bfs) , 문자열, 백트랙킹,dp, 해시테이블 코딩테스트의 목적 문제 해결 능력 : 문제이해, 접근방법(자료구조&알고리즘 이론), 코드 설계(시간 복잡도) 구현 능력: 프로그래밍 능력 암시적그래프 bfs로 최단경로 구하는게 빠름 우선순위큐가 요새 자주나옴. 카카오 코테는 문자열 자주나옴.
2024.02.16 -
코틀린으로 문제풀이
응애 나 코틀린 처음해보는데 mobile programming 수업 때 코틀린 사용하니 과제로 주신 문제를 풀어보겠습니다. 1. Write a simple calculator program. The available arithmetic operators are +, -, *, and / operators. Operands and operator must be separated by whitespaces. The program must print “Cannot divide by 0” string when a user tries to “divide by 0” operation. Use “when” statement for operator branch. 2. Write a program that 1) take..
2023.10.17