Q1.Detect cycle in undirected graph You have been given an undirected graph with 'N' vertices and 'M' edges. The vertices are labelled from 1 t... read more
Q2.Implement 3 stacks in a single array Given a sequence of queries of insertion and deletion from 3 stacks, you need to implement three stacks... read more
Q3.Meeting Ninja is organizing a meeting in an office that starts at a time ‘0’ and will end at a time ‘LAST’. There are ‘N’ presentations that... read more