Git Product home page Git Product logo

algorithm_study's Introduction

안녕하세요! 👋

잘부탁드립니다 😄

Hits

Rain3321's GitHub stats Top Langs

contribution graph

github activity graph

algorithm_study's People

Contributors

minwoo9629 avatar rain3321 avatar rkarud1234 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

minwoo9629

algorithm_study's Issues

Github commit 메시지 및 PR 규칙

https://djkeh.github.io/articles/How-to-write-a-git-commit-message-kor/ 을 꼭 읽어보세요.

  1. 커밋의 제목은 항상 [사이트] <문제번호>. <문제이름> 문제 풀이의 형태로 구성합니다.
    1-1. 언어는 문제의 사이트를 대괄호에 작성합니다.
    1-2. 예시: [백준] 1000. A+B 문제풀이
  2. 1개의 PR에는 항상 1개의 문제풀이만 올라갈 수 있도록 합니다.
  3. PR의 내용에는 어떤 개념을 이용해서 문제를 풀었는지, 어떤 방식을 적용했는지 자세하게 적어줄수록 좋아요!
  4. 코드 병합은 1명 이상의 리뷰어가 승인해야 가능합니다.
  5. 병합 간 깃 그래프를 항상 최신 상태로 유지해주세요. 자칫하다 그래프가 꼬이는 사태가 발생할 수 있습니다. 방법을 모를 때는 @Rain3321 를 찾아주세요.

Git action 자동화

-> 자바로 언어가 통일됨에 따라 소스코드가 올라오면 문제풀이 라벨만 달기

백준 2015번 문제풀이 이슈

int[] prefixSum = new int[n + 1];
prefixSum[0] = 0;
for (int i = 1; i <= n; i++) {
prefixSum[i] = prefixSum[i - 1] + nums[i];
}
numSums.put(0, 1);
for (int i = 1; i <= n; i++) {
result += (long) numSums.getOrDefault(prefixSum[i] - k, 0);
int temp = numSums.getOrDefault(prefixSum[i], 0) + 1;
numSums.put(prefixSum[i], temp);
}

26번 라인의
numSums.put(0, 1);
을 논리적으로 설명해주세요

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.