Skip to main content

Recently Updated Pages

4. Example: Full Manual Implementation

Algorithm Programming Module 7 - Hash Map

This chapter combines all the concepts from Chapters 2 and 3 into a single, complete MyHashMap cl...

Updated 2 months ago by RE

2. Collision Handling

Algorithm Programming Module 7 - Hash Map

A Collision occurs when two or more different keys produce the same hash value (index). For examp...

Updated 2 months ago by RE

6. Custom Struct Keys

Algorithm Programming Module 7 - Hash Map

A notable limitation of the C++ STL's std::unordered_map and std::unordered_set is their inabilit...

Updated 2 months ago by RE

1. Main Concept of Hash Map

Algorithm Programming Module 7 - Hash Map

Hashing is the process of converting data of any size (like a string, number, or object) into a f...

Updated 2 months ago by RE

5. Hashing Implementation with C++ STL

Algorithm Programming Module 7 - Hash Map

In C++, instead of creating a Hash Table manually, you could use Standard Template Library (STL)....

Updated 2 months ago by RE

3. Load Factor and Rehashing

Algorithm Programming Module 7 - Hash Map

3.1. Load Factor (λ) The Load Factor (λ) is a measure of how full the hash table is. It is a crit...

Updated 2 months ago by RE

8. Practical Applications

Alprog - Elektro KKI Module 7: Searching & Sorting

8.1 Search and Sort Combined #include <stdio.h> #include <stdlib.h> #include <string.h> // Stude...

Updated 2 months ago by DS

7. Comparison of Sorting Algorithms

Alprog - Elektro KKI Module 7: Searching & Sorting

7.1 Performance Summary // Test all sorting algorithms #include <time.h> void testSortingAlgorit...

Updated 2 months ago by DS

6. Efficient Sorting Algorithms

Alprog - Elektro KKI Module 7: Searching & Sorting

6.1 Merge Sort Concept Merge Sort is a divide-and-conquer algorithm that divides the array into h...

Updated 2 months ago by DS

5. Simple Sorting Algorithms

Alprog - Elektro KKI Module 7: Searching & Sorting

5.1 Bubble Sort Concept Bubble Sort repeatedly steps through the list, compares adjacent elements...

Updated 2 months ago by DS

4. Introduction to Sorting

Alprog - Elektro KKI Module 7: Searching & Sorting

4.1 What is Sorting? Sorting is the process of arranging elements in a specific order (ascending ...

Updated 2 months ago by DS

3. Binary Search

Alprog - Elektro KKI Module 7: Searching & Sorting

3.1 Concept Binary Search is a fast search algorithm that works on sorted arrays by repeatedly di...

Updated 2 months ago by DS

2. Linear Search

Alprog - Elektro KKI Module 7: Searching & Sorting

2.1 Concept Linear Search (also called Sequential Search) checks every element in the array seque...

Updated 2 months ago by DS

Referensi Lebih Lanjut

Internet of Things Module 8 - Power Management

Penggunaan mode-mode sleep dalam kode belum dibahas secara terlalu detail dalam modul ini, silahk...

Updated 2 months ago by Digilab UI

Metode Mengurangi Konsumsi Daya ESP-32 : Mengganti Operating Mode

Internet of Things Module 8 - Power Management

Seperti pada tabel sebelumnya, terdapat bebeerapa operating mode yang didukung oleh ESP-32, diant...

Updated 2 months ago by Digilab UI

Metode Mengurangi Konsumsi Daya ESP-32 : Mengurangi Clock Speed CPU

Internet of Things Module 8 - Power Management

Terdapat beberapa faktor yang mempengaruhi tingkat konsumsi daya ESP-32, diantaranya sebagai beri...

Updated 2 months ago by Digilab UI

Konsumsi Daya pada ESP-32

Internet of Things Module 8 - Power Management

Sebagai mikrokontroler, ESP-32 memerlukan pasokan daya yang stabil agar dapat beroperasi dengan o...

Updated 2 months ago by Digilab UI

Tujuan Pembelajaran

Internet of Things Module 8 - Power Management

Setelah menyelesaikan modul ini, praktikan diharapkan mampu: Memahami tingkat konsumsi daya pada...

Updated 2 months ago by Digilab UI

2. Tree Concept

Algorithm Programming Module 6 - Tree

2.1 Basic Theory 2.1.1 Definition of a Tree A Tree is a non-linear hierarchical data structure c...

Updated 2 months ago by RE

1. Introduction

Algorithm Programming Module 6 - Tree

Module 6: Tree Author: YP Learning Objectives After completing this module, students are expecte...

Updated 2 months ago by RE