You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize trie operations by replacing tail recursion with iteration
Replace tail-recursive calls in insert_trie() and find_trie() with an
iterative loop to reduce function call overhead and avoid potential
stack overflow issues. The logic remains functionally equivalent,
improving performance and stability.
0 commit comments