Adobe | Member of Technical Staff | 17 November

Adobe · Question · Posted Apr 2020

Given a number A, return number of ways you can draw A chords in a circle with 2 x A points such that no 2 chords intersect. Two ways are different if there exists a chord which is present in one way and not in other. Return the answer modulo 10^9 + 7. Input Format: The first and the only argument contains the integer A. Output Format: Return an integer answering the query as described in the problem statement. Constraints: ...

The full answer & interview discussion are available to premium members.

Log in Create a free account