👉中文
If you already know what Generic Programming is,
you can jump directly to Lab.
If we want to write a function to swap two variables...
For int, we can write it like this:
void my_swap(int *a, int *b) {
int tmp = *a;
JasonLiu changed a year agoView mode Like Bookmark
:::info
NCKU GDSC Smart Contact study group ( Week 1 )
:::
reference : 「在 2022 年,我們該如何寫智能合約」 on iThome
D1 - D10
Introduction to blockchain ( Ethereum )
D1 : What is block and chain
JasonLiu changed 2 years agoView mode Like Bookmark
Definition
Top trading cycle (TTC) is an algorithm for trading indivisible items without using money
在不使用金錢交易
每人只有一個物品可以交易
How does it work ? & Example
The algorithm works as follows :
詢問每個人想交換的志願序
JasonLiu changed 4 years agoView mode Like Bookmark