---
# System prepended metadata

title: Document for Fresher Interview
tags: [experience, skills technical]

---

# Document for Fresher Interview
> ###### tags: `experience`, `skills technical`


## :memo: Bắt Đầu Thôi!

> ### 1. Cấu trúc dữ liệu (Data strutures) 


| Features          | Tutorials               |
| ----------------- |:----------------------- |
| Link list         | [:link:]   |
| Stack             | [:link:]     |
| Queue             | [:link:]    |
| Hash              | [:link:]    | 
| Sort / Search Algorithm  | [:link:]|



:::info
:bulb: **Lưu ý:** 
- Hiểu rõ lý thuyết ( phải thuyết trình cho ngkhac hiểu được )
- Phải nắm rõ 1 hoặc 2 thoát toán search - sort 
:::


## Bonus: Ví dụ thuật toán

- Thuật toán Search

 :thought_balloon: Search lính canh
```javascript=1
    int Search(int arr[],int size,int value)
    {
        arr[size] = value;
        for (int i ; ; i ++)
        {
            if (arr[i] == value)
            {
            return i
            }
        }
    }
```
:thought_balloon: Binary Search
```javascript=1
    int binarySearch(int arr[],int size,int value)
    {
        int right = size - 1;
        int left = 0;
        int mid;
        while(left <= right)
            {
                mid = (left + right) / 2;
                if (arr[mid] == value)
                {
                    return mid;
                }
                if (arr[mid] > value)
                {
                    right = mid - 1;
                }
                else if (arr[mid] < value)
                {
                    left = mid + 1;
                }
            }
        return -1;
    }
```
- Thuật toán Sort
:thought_balloon: Sort 2 loop
```javascript=1
    void Sort(int arr[],int size)
    {
        int temp;
        for (int i = 0; i < size - 1; i++)
        {
            for (int j = i + 1;j < size; j++)
            {
                if(arr[i] < arr[j])
                {
                    temp = arr[i];
                    arr[i] = arr[j];
                    arr[j] = temp;
                }
            }
        }
    }
```
- Auto-generated Table of Content
[ToC]

> Leave in-line comments! [color=#3b75c6]

- Embed YouTube Videos

{%youtube PJuNmlE74BQ %}

> Put your cursor right behind an empty bracket {} :arrow_left: and see all your choices.

- And MORE ➜ [HackMD Tutorials](https://hackmd.io/c/tutorials)
