using System.Collections;

using System.Collections.Generic;

using System.Linq;


public class Solution {

public string solution(string s) {

string answer;

var a = s.Split(' ');

List<int> test = new List<int>();

for (int i = 0; i < a.Length; i++)

{

test.Add(int.Parse(a[i]));

}

//test = test.OrderBy(x => x).ToList();

test.Sort();

answer = test[0].ToString() + " " + test[test.Count -1].ToString();

return answer;

}

}
내일 게임 아카데미 상담 받기전에 연습겸 프로그래머스 새계정 만들어서 3렙까지 복습중입니다(풀고 제출안하기)

위코드는 프로그래머스 2렙 스트링에 "-1 -2 -3 -4" 같은걸 받아서 최소값 최대값 출력하기에대한 제코드인데 문득 생각나는게

실제 기업 코테에서도 linq나 Dictionary같은거 쓸수있나요 애네들 c#에만 있는걸로아는데..(파이썬은 딕션너리 있는거 알지만 c++은 해쉬맵이라 없는걸로압니다)

글쓴이는 비전공입니다 ㅠ.ㅠ