2021-02-21-TIL
2021-02-21-TIL For example, for the input [-1000000, 1000000] the solution terminated unexpectedly. chaotic sequences length=10005 (with minus) WRONG ANSWER, got 0 expected 100001 chaotic + man...
2021-02-21-TIL For example, for the input [-1000000, 1000000] the solution terminated unexpectedly. chaotic sequences length=10005 (with minus) WRONG ANSWER, got 0 expected 100001 chaotic + man...
2021-02-19-TIL 객체 지향 프로그래밍의 중요성 코드의 추가는 몇 줄 없는데, 추가하는 비용이 엄청나게 많이드는 상황이 발생한다. long start = System.currentTimeMillis(); ... long end = System.currentTimeMillis(); long elapsed = end - start; lo...
2021-02-18-TIL 자기경영 노트 https://github.com/mazassumnida/mazassumnida C++에 붙은 ++는 C언어에서 사용하는 증가를 뜻하는 연산자다. 즉 C언어에 몇 가지 함수가 더해진 것이 아니라 C언어의 개념이나 기능이 전체적으로 증가한 것이므로 ++라는 증가연산자를 뒤에 붙인 것이다. 그리고 원래부터 이...
2021-02-17-TIL String + operator vs StringBuilder.append() The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strin...
2021-02-16-TIL Map<String, Runnable> 로 조건 분기문 없이 커맨드를 실행할 수 있다. black인데 white_representation 인 폰이 생성되면? 1000문제 풀면 카카오 뽑힌다. TIL 쓰면 뽑힌다. Dong과 함께 알고리즘 스터디를 개설했다. 코드리뷰를 하면서 많은 것을 배웠다. 다른 사람...
2021-02-15-TIL The history of Java 자바는 처음에 Write Once, Run Anywhere이라는 모토로 가전제품용으로 개발했지만, 그 당시에 임베디드 시스템에 복잡한 로직은 필요없었으므로 실패하게 되었다. 그리고 웹이 발전하면서 자바는 클라이언트에서 실행되는 애플리케이션인 자바 애플릿으로 유명해졌다. 때문에 현재는 다...
2021-02-14-TIL java.lang.ClassCastException List<Integer> waiting = new ArrayList(Arrays.asList(truck_weights)); int temp = waiting.get(0); // 참조할 때 예외발생 https://javarevisited.blogspot.co...
2021-02-11-TIL class의 List를 반복할 때는 향상된 for문을 사용해도 참조값을 통해 접근하므로, 직접적인 값의 변경이 가능하다. Convert List to Array in Java https://stackoverflow.com/questions/9572795/convert-list-to-array-in-java h...
2021-02-10-TIL 맥북 부트캠프 프로그래머스 문제 3단계까지 다 풀기 https://okky.kr/article/615407 https://url.kr/p8l7sm https://url.kr/rlyct6 다른 가지에서 남의가지의 커밋을 가져올때 체리픽 -> 내용은 같지만 id는 다르다 git은 스냅샷이라는 것을 기억할것 P...
2021-02-09-TIL Git cheet sheet git clone -b Polynomeer --single-branch https://github.com/Polynomeer/java-chess git switch -c {branch name} git push origin {branch name} git remote add -t Polyn...