Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,12 +0,0 @@
(defun BalancedBrackets (str / cntOpen curr)
(setq cntOpen 0)
(setq str (vl-string->list str))
(while (and (>= cntOpen 0) str)
(setq curr (car str) str (cdr str))
(cond
((= 91 curr) (setq cntOpen (1+ cntOpen)))
((= 93 curr) (setq cntOpen (1- cntOpen)))
)
)
(and (null str) (zerop cntOpen))
)