Skip to content
#

Algorithm

Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.

Here are 2,143 public repositories matching this topic...

Boiarshinov
Boiarshinov commented Jun 21, 2022

MinHeap and MaxHeap implementation are broken.
Instance of these heaps couldn't be instanciated with any not empty list of elements.

Here is a test code to reproduce:

@Test
void createFromList() {
    var elements = List.of(
            new HeapElement(5)
    );
    MaxHeap heap = new MaxHeap(elements);
    //similar with MinHeap
}

Stacktrace:

java.lang.IndexOut
tech-interview-for-developer
jiriboy
jiriboy commented Jul 7, 2022

안녕하세요

자료 보면서 공부하다가 counting sort 코드가 이상한 부분이 있어서 수정했습니다

  1. 과정 3에서 누적합을 만들어줄 때 arr.length -> counting.length
  2. 과정 4에서 다시 sorted_arr에 넣어줄 때 인덱스가 counting[arr[i]] -> counting[arr[i]] - 1

좋은자료 항상 감사합니다 :)

good first issue
CS-study
Seogeurim
Seogeurim commented Jan 3, 2021

Rule

목차 / README 자유롭게 업데이트 가능

  1. 아직 체크되지 않은 항목에 대하여 정리할 항목을 선택한다.
  2. 그 항목에 체크 표시를 한다.
  3. branch를 판다. Branch Naming convention : 대주제/닉네임 ex) DataStructure/Seogeurim
  4. 정리 & commit한다. Commit convention : [대주제]-소주제-분류(자료정리/질의응답/ ...)
  5. Pull Request를 올린다. 3명 이상 approve 시 main으로 merge 가능
  6. Score Board 업데이트를 위해 팀원에게 알린다.

Data Structure

이론 (+15점) : 개념, 용어, 주요 명령어,

good first issue

专注于解决推荐领域与搜索领域的两个核心问题:排序预测(Ranking)和评分预测(Rating). 为相关领域的研发人员提供完整的通用设计与参考实现. 涵盖了70多种排序预测与评分预测算法,是最快最全的Java推荐与搜索引擎.

  • Updated Apr 8, 2022
  • Java
Wikipedia
Wikipedia