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
Copy file name to clipboardExpand all lines: README.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
/>
26
26
27
27
Technical Chellenge
28
-
Initially I used recursion and this was the biggest mistake since js doesn't support tail optimization. When the data becomes too big with many nested level of data. The browser actually will crash.
28
+
Initially I used recursion and this was the biggest mistake since js doesnt support tail optimization. When the data becomes too big with many nested level ofdata. The browser actually will crash.
29
29
30
30
Solved by:
31
31
-> Instead of using recursion, use iteration.
@@ -34,6 +34,3 @@ Solved by:
34
34
35
35
I know this is against data mutation best practice but forperformance we must mutate all the way.
0 commit comments