TradingView interview question

simple binary tree task concurrency, difference between a thread and a process