The Wayback Machine - https://web.archive.org/web/20220706142034/https://github.com/topics/algorithm
Skip to content
#

Algorithm

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

Here are 12,430 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

ใ€Šไปฃ็ ้šๆƒณๅฝ•ใ€‹LeetCode ๅˆท้ข˜ๆ”ป็•ฅ๏ผš200้“็ปๅ…ธ้ข˜็›ฎๅˆท้ข˜้กบๅบ๏ผŒๅ…ฑ60wๅญ—็š„่ฏฆ็ป†ๅ›พ่งฃ๏ผŒ่ง†้ข‘้šพ็‚นๅ‰–ๆž๏ผŒ50ไฝ™ๅผ ๆ€็ปดๅฏผๅ›พ๏ผŒๆ”ฏๆŒC++๏ผŒJava๏ผŒPython๏ผŒGo๏ผŒJavaScript็ญ‰ๅคš่ฏญ่จ€็‰ˆๆœฌ๏ผŒไปŽๆญค็ฎ—ๆณ•ๅญฆไน ไธๅ†่ฟท่Œซ๏ผ๐Ÿ”ฅ๐Ÿ”ฅ ๆฅ็œ‹็œ‹๏ผŒไฝ ไผšๅ‘็Žฐ็›ธ่งๆจๆ™š๏ผ๐Ÿš€

  • Updated Jul 6, 2022

๐Ÿ“š C/C++ ๆŠ€ๆœฏ้ข่ฏ•ๅŸบ็ก€็Ÿฅ่ฏ†ๆ€ป็ป“๏ผŒๅŒ…ๆ‹ฌ่ฏญ่จ€ใ€็จ‹ๅบๅบ“ใ€ๆ•ฐๆฎ็ป“ๆž„ใ€็ฎ—ๆณ•ใ€็ณป็ปŸใ€็ฝ‘็ปœใ€้“พๆŽฅ่ฃ…่ฝฝๅบ“็ญ‰็Ÿฅ่ฏ†ๅŠ้ข่ฏ•็ป้ชŒใ€ๆ‹›่˜ใ€ๅ†…ๆŽจ็ญ‰ไฟกๆฏใ€‚This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.

  • Updated Mar 18, 2022
  • C++
cosmos
tech-interview-for-developer
WhiteHyun
WhiteHyun commented Apr 4, 2022

์„ค๋ช…

ํ€ต ์ •๋ ฌ ๊ฒŒ์‹œ๊ธ€ ์ค‘ bold ์„ค์ •์ด ์ผ๋ถ€ ๋“ค์–ด๊ฐ€์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

๋งํฌ

  1. gyoogle - ํ€ต ์ •๋ ฌ (์ตœ์•…์˜ ๊ฒฝ์šฐ)
  2. gyoogle - ํ€ต ์ •๋ ฌ (๊ณต๊ฐ„๋ณต์žก๋„)

์Šคํฌ๋ฆฐ์ƒท

  1. <img width="600" alt="image" src="https://user-images.githubusercontent.com/57972338/161484958-416f6d20-33df-412a-a5ca-c72f7
good first issue
Wikipedia
Wikipedia