{"openapi":"3.1.0","info":{"title":"Sorting Algorithm Lab","description":"This tool lets you watch and step through different sorting algorithms on arrays of numbers, showing you exactly how many comparisons, swaps, and other operations each algorithm performs.","version":"1.0"},"servers":[{"url":"https://dabbled.ai"}],"paths":{"/apps/sorting-algorithm-lab":{"get":{"operationId":"sortingAlgorithmLab","summary":"This tool lets you watch and step through different sorting algorithms on arrays of numbers, showing you exactly how many comparisons, swaps, and other operations each algorithm performs.","parameters":[{"name":"algorithm_a","in":"query","required":true,"description":"Algorithm","schema":{"type":"string","enum":["bubble","selection","insertion","merge","quick","heap","counting","radix"]}},{"name":"distribution","in":"query","required":true,"description":"Distribution","schema":{"type":"string","enum":["random","nearly","reversed","few","custom"]}},{"name":"visualization","in":"query","required":true,"description":"Visualization","schema":{"type":"string","enum":["bars","dots"]}},{"name":"color_theme","in":"query","required":true,"description":"Color theme","schema":{"type":"string","enum":["ocean","sunset","forest","mono","neon"]}},{"name":"array_size","in":"query","required":true,"description":"Array size","schema":{"type":"number"}},{"name":"value_min","in":"query","required":true,"description":"Value range minimum","schema":{"type":"number"}},{"name":"value_max","in":"query","required":true,"description":"Value range maximum","schema":{"type":"number"}},{"name":"speed","in":"query","required":true,"description":"Speed (ms/step)","schema":{"type":"number"}},{"name":"custom_values","in":"query","required":false,"description":"Custom values (comma / space separated)","schema":{"type":"string"}},{"name":"compare_mode","in":"query","required":false,"description":"Compare mode","schema":{"type":"boolean"}},{"name":"algorithm_b","in":"query","required":false,"description":"Algorithm (comparison)","schema":{"type":"string","enum":["bubble","selection","insertion","merge","quick","heap","counting","radix"]}}],"responses":{"200":{"description":"Rendered app reflecting the given inputs."}}}}}}