SHENZHEN I/O

SHENZHEN I/O

Not enough ratings
Tesla Challenge 4: Triple Number Sorter
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
2.364 KB
8 Apr, 2017 @ 11:19am
1 Change Note ( view )

Subscribe to download
Tesla Challenge 4: Triple Number Sorter

In 1 collection by 89o
SHENZHEN I/O Tesla Challenge Pack
24 items
Description
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.