Tripadvisor Phone Interview - Program to count all squares in matchstick grid
1199
Mar 24, 2021
Mar 25, 2021
Question: First design a data structure to represent the below grid formed using match sticks. Using this data structure as an input write a program to count all the possible squares in the below example figures.

Answer: 16

Answer: 2
Comments (2)


