Posts

Showing posts with the label DataStructure

video stack

Image
Video Stack

Markah Kumpulan Struktur Data dan Algoritma 2017

Sila masukkan senarai ahli kumpulan anda di sini link

Diagnostik Test

Sila download soalan diagnostik di ruangan di bawah soalan diagnostik link2 link3

Graph Traversal

Image
https://www.youtube.com/watch?v=bIA8HEEUxZI https://www.youtube.com/watch?v=9C2cpQZVRBA&t=304s

InterpolationSearch

Image
Interpolation search is an improved variant of binary search. This search algorithm works on the probing position of the required value. For this algorithm to work properly, the data collection should be in a sorted form and equally distributed. Binary search has a huge advantage of time complexity over linear search. Linear search has worst-case complexity of Ο(n) whereas binary search has Ο(log n). There are cases where the location of target data may be known in advance. For example, in case of a telephone directory, if we want to search the telephone number of Morphius. Here, linear search and even binary search will seem slow as we can directly jump to memory space where the names start from 'M' are stored. Positioning in Binary Search In binary search, if the desired data is not found then the rest of the list is divided in two parts, lower and higher. The search is carried out in either of them. Even when the data is sorted, binary search does ...

Binary Search

Image

sorting

Image

Pengenalan kepada "Link List"

Image
Video di bawah menerangkan mengenai konsep array dan linklist dari aspek memori komputer.Selamat menonton.

Graph traversal

Image