SHENZHEN I/O

SHENZHEN I/O

Nedostatek hodnocení
Tesla Challenge 4: Triple Number Sorter
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
2.364 KB
8. dub. 2017 v 11.19
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Tesla Challenge 4: Triple Number Sorter

V 1 kolekci od uživatele 89o
SHENZHEN I/O Tesla Challenge Pack
24 položek
Popis
Subject: Temperature control system
From: 张杰 <zhangjie@longteng-co-ltd.gd.cn>

Our system that measures the temperatures here in the company building was recently destroyed. Fortunately most of it was simple to repair. However there is one section where the different temperatures must be sorted in ascending order.

There are only three values to be sorted. This is a good project to introduce you to some simple sorting algorithms.

Jie.

---------

Small hint: Sort the values step by step, not all at once.

Big hint: Sort values 0 and 1 first, then figure out one of three possible positions of value 2.

Optimization tip: Sorting two values fits into an MC4000.