Altimetrik Interview Question

Asked to write code for some patterns, basic java programs, questions on oops, dsa and sql