0 votes 0 votes Answer is [[n(n+1)] / 2 ] + 1 right ??? empty string is also a substring right ??? Theory of Computation theory-of-computation + – Vicky rix asked Apr 18, 2017 retagged Jun 4, 2017 by Arjun Vicky rix 247 views answer comment Share Follow See 1 comment See all 1 1 comment reply akash.dinkar12 commented Apr 18, 2017 reply Follow Share https://gateoverflow.in/1660/gate1998_1-23 0 votes 0 votes Please log in or register to add a comment.
Best answer 0 votes 0 votes Yes it is right Rameez Raza answered Apr 18, 2017 selected Apr 19, 2017 by rude Rameez Raza comment Share Follow See all 0 reply Please log in or register to add a comment.