Async Compose Pipeline

JavaScript Hard 4 views
Back to Questions
Previous Curry Add Medium P

Problem Description

You are given n numbers. For each number x, apply async steps: add 1, then multiply by 2, then subtract 3 (each step is awaited). Print final numbers.

Input Format

Line1: n. Line2: n integers.

Output Format

One line outputs.

Sample Test Case

Input:
3 1 2 3
Output:
1 3 5

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev