Posts by Governa • 134 points
2 posts
-
2
votes1
answer867
viewsA: Real-time window update problem
Normally, to create a graphical interface a main thread is used that takes care of updating the interface and another thread(s) that runs the other parts of the code in parallel. That said, the most…
-
-1
votes2
answers515
viewsA: How to create a recursive algorithm to find the depth of a list
I think the best way to understand this is to think from the bottom up. For example: arvore1 = [ 1, 2] profundidade1 = 1 arvore2 = [ 4, 5] profundidade2 = 1 arvore3 = [ 3, [ 1, 2]] profundidade3 = 1…