Number Of Ways Of Triangulation

1. You are given a number N, which represents the number of sides in a polygon.
2. You have to find the total number of ways in which the given polygon can be triangulated.
Input Format
A number N
Output Format
A number representing number of ways of traingulating a N-sided polygon.
Question Video
Constraints
1 <= N <= 15
Sample Input
5
Sample Output
5


  • Asked in Companies
  • Related Topics






Video Solution

Code Solution

Run
 
Run
Id Name