Capgemini Engineering interview question

write a pattern program. Data structures concepts C questions SQL queries