Round 1 -
// Print even and odd numbers on two different threads.
// Even numbers should be printed on Thread 1 and odd numbers should be printed on thread 2.
// Given a linked list of integer numbers. The linked List is sorted by absolute value. Sort the linked list by the actual value.
// Example ->
// Given : 1 -> -2 → 3 → -4 → 5 → -6
// Expected: -6 → -4 → -2 → 1 → 3 → 5
Round 2 -
-> Search service -> Hotels Ranking service (microservice)
Round 3 -
Design a workflow service in which we need to run tasks in parallel and some in sequential.
e.g.
workflow1:
T1 , T2 // parallel
T3 // run only if T1, T2 is successful
T4 T5 T6
T7
W2:
T1
T2
T3 T4
T5
We need to pass outputs of previous steps to next one.