C # program to implement the above approach
using System ; using System . Collections . Generic ; class GFG { static List < int > find_sequence ( int n ) { List < int > temp = new List < int > ( ) ; temp . Add ( 1 ) ; temp . Add ( - 1 ) ;