I'm trying to implement an algorithm to find the depth of a sequence expression through Clojure Zippers.
(zip/seq-zip (+ 1 (* 2 3)))
This is the way I'm interpreting a sequence to be converted into a tree data structure. Is there a direct method to calculate this through Zipper library(the depth to be calculated as 2, from the given example)?
Any suggestions would be appreciated!