banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

GitHub 一萬多 Star,一個可視化學算法的好工具

今天我們發現一個同類型的新網站 Algorithm Visualizer,做得很好。

網址是:http://algorithm-visualizer.org

圖片
下面通過冒泡排序,大概解釋一下 Algorithm Visualizer 這個工具:

圖片
①、選擇區
匯總了好多:回溯法、加密算法、動態規劃、圖搜索、貪婪算法、搜索算法、排序算法等

圖片
② ChartTracer

長條圖方式展示每次交換的過程。每次交換位置的兩個數,對應的長條會紅色高亮。

圖片
③ Array1DTracer

作用和②類似

7c50dac989074a780f6f398cd5eb8f5d
④ LogTracer

日誌模式記錄每次 swap 的過程

76f200a9cb6945910069b32d75a30465
⑤ 工具欄

開始 / 暫停 / 下一步 / 上一步

圖片

這塊是定義這個算法的一些相關基本信息。裡面的 ChartTracer、Array1DTracer、LogTracer,對應上方的 ②③④。數組大小為 15。

8a7f4ec7565711df1521938508e738ee
如果你是看加密算法的演示過程,那 ⑥ 這裡就是展示加密算法的一些基本信息。

⑦ 核心算法

3a0898821f5b535207af13704584fb62

Algorithm Visualizer 在 GitHub 有 10.6k+ Star:

:fireworks:Interactive Online Platform that Visualizes Algorithms from Code

本文只是粗略簡介圖片,不用多說了,大家戳閱讀原文,自己去感受咯。

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。