Giter VIP home page Giter VIP logo

coding's Introduction

coding's People

Contributors

sanhaa avatar

Stargazers

 avatar

coding's Issues

S_1260 화학물질 2 헤맨 이유

  1. 이미 확인한 곳을 -1로 바꾸는 과정에서 인덱스를 잘못 설정해서 첫 번째 행, 열만 바뀜.
  2. 행렬 추출하는 동시에 시작 행을 찾으려고 하는 알고리즘이 잘못 되었다. -> 다른 방법이 있나?
  3. 행렬 순서 정하면서 for문 이중으로 돌 때 범위에 M이 포함인지 아닌지 헷갈림

J 1620 전화번호 속의 암호 한번에 못 푼 이유

  1. 문제를 제대로 안 읽었다.
    • 더했을 때 두 자리가 되면 일의 자리만 출력
    • 자릿수가 안 맞으면 뒤가 아니라 앞에 0 추가
  2. 알고리즘을 잘못 썼는데 채점 받지 말자
  • 그냥 내가 만든 예제 해보고 확인 정도는 할 수 있잖아

S 1249 보급로

문제 바로가기

최단 거리 알고리즘으로 푸는건데

  • 다익스트라
  • BFS
  • 완전 탐색 (가지치기 필수)

인접 행렬 A 설계가 어렵다.

J 1545 해밀턴순환회로2 시간 초과 해결 방법

  1. DP 테이블을 활용해서 이미 있는 값이면 바로 리턴하고 재귀 종료 하는 식으로 하는데 이건 시간이 빡빡해서 재귀 들어가기 전에 검사해서 이미 있는 값이면 재귀 호출을 안하게 해서 통과
  2. 반복문으로도 풀 수 있겠지?

J 1060 최소 비용 신장 트리

  • STL vector, queue 안 쓰고 풀기 (구현해 놓은 heap 사용)
  • 배운 prim 알고리즘은 처음부터 queue에 넣던데 그러면 값 변동 될 때 업데이트 어떻게?

SWE 1232 사칙연산

이진 트리 순회하면서 계산할 때
double 형 고려 안해도 되는 이유?
테케가 적어서?

J_3336(직각다각형) 시간초과

평면 스와핑 했는데,
수직선으로 스와핑
수평선으로 스와핑
각각 이중 for문을 돌다 보니 시간초과가 난다.

답도 틀린 듯

input값이 너무 커서 디버깅이 안됨

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.