RKIT Software interview question

1st Round: - Write a code to demonstrate Singleton pattern in C#. - Write a code to reverse a doubly linked list. - Write the advantages and disadvantages of using View over CTE. 2nd Round: - How are stored procedures created in PostgreSQL? - Write a code to print: 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 - What is your dream company? 3rd Round: - Code a Task scheduler based on dependencies. You are given t test cases, n tasks, an array of profits, an array of hours required, and m dependencies in the form [u,v] where v is dependent on u to be complete. You are given h hours to get the max profit.