{"openapi":"3.1.0","info":{"title":"LCS Visualizer","description":"Step through the dynamic-programming table for the Longest Common Subsequence of two strings, with animated fill, traced backtracking, and optional listing of all optimal subsequences.","version":"1.0"},"servers":[{"url":"https://dabbled.ai"}],"paths":{"/apps/lcs-visualizer":{"get":{"operationId":"lcsVisualizer","summary":"Step through the dynamic-programming table for the Longest Common Subsequence of two strings, with animated fill, traced backtracking, and optional listing of all optimal subsequences.","parameters":[{"name":"string_a","in":"query","required":true,"description":"First string (rows)","schema":{"type":"string"}},{"name":"string_b","in":"query","required":true,"description":"Second string (columns)","schema":{"type":"string"}},{"name":"preset","in":"query","required":false,"description":"Preset example pair","schema":{"type":"string","enum":["ABCBDAB / BDCABA","AGGTAB / GXTXAYB","kitten / sitting","XMJYAUZ / MZJAWXU","dynamic / programming","abcdef / abcdef","abc / xyz","(empty) / abc"]}},{"name":"speed","in":"query","required":false,"description":"Animation speed in ms per step (50-2000)","schema":{"type":"number"}},{"name":"case_sensitive","in":"query","required":false,"description":"Case-sensitive character matching","schema":{"type":"boolean"}},{"name":"show_whitespace","in":"query","required":false,"description":"Show whitespace/control characters visibly","schema":{"type":"boolean"}},{"name":"cell_display","in":"query","required":false,"description":"Cell contents","schema":{"type":"string","enum":["Lengths only","Lengths + arrows"]}},{"name":"show_all_lcs","in":"query","required":false,"description":"List all distinct longest common subsequences","schema":{"type":"boolean"}},{"name":"max_lcs_count","in":"query","required":false,"description":"Maximum number of LCS results to list","schema":{"type":"number"}}],"responses":{"200":{"description":"Rendered app reflecting the given inputs."}}}}}}