TCS
Company
What is the number of distinct squares in G(3,3)? Each square should have its vertices among the dots and its sides should be vertical or horizontal.
o 14
o 5
o 9
o 4
Read Solution (Total 7)
-
- for this type of problems there is a direct short cut formula..
no. of squares=n(n+1)(2*n+1)/6
putting n=3 here we get 14 which is the ans - 12 years agoHelpfull: Yes(15) No(0)
- what is G(3,3) shilpa i am not able to understand it
- 12 years agoHelpfull: Yes(4) No(0)
- ans is 14..i think G(3,3)is a 3X3 square board.
- 12 years agoHelpfull: Yes(4) No(1)
- even im also nt getting G(3,3)
- 12 years agoHelpfull: Yes(2) No(0)
- 14
3square+1 bigger+ 4 squares with 2 units=14 - 12 years agoHelpfull: Yes(2) No(0)
- and what if these are 3 row and 3 column???
then ans=5
because in that case there will be 4 squares, 2in ist rox and 2 in 2nd - 12 years agoHelpfull: Yes(0) No(3)
- it has 3 row 3 column so9small square+4 2unit square+1 bigger square=14
- 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question