Tough TCS Codevita: Zone 2

Wow, may be this is real luck,nothing is hidden in google database, just u need to call them with some mantra, and u will get some solution.

1 Like

Graph was not available.

1 Like

Yes, But if u want correct then consider 1 hr contains [0,98) minutes . :neutral_face:

3 Likes

Did Anyone get fill the cube right? I couldn’t clear it. What is the approach is someone cleared it.

4 Likes

i also got this exact set, and the graph was empty, no one was able to submit any solution for all of these problems.RIP

At the end we can’t do anything. It is TCS who holds all the power to make the question correct or incorrect or the testcases correct or incorrect.

2 Likes

I tried that problem for almost 3 hours figuring out different ways to get it accepted.
There was no clarity in how the output shoud be printed like if 45 shoud be forty five or fortyfive
even then I tried to print in different ways but still was getting WA.

1 Like

In my set I am able to solve only binary equivalent and path through graph and even odd passing on public test cases only

yup, wasted 2 hours trying 2 (probably) incorrect problems

2 Likes

even i beleive testcases were wrong i was not getting correct answer for the sample test case using brute force

2 Likes

I don’t even understand how are you comparing hiring contest with a coding (not solely for hiring) contest, that too former one is for intern position and just a round 1, there ought to be more rounds than this.

1 Like

I wasted nearly 2hrs on count palindrome then today I come to know that my whole life was lie, I used to think that 1hr is of 60 mins but codevita opens my eyes and I realize that 1hr is of 98 mins. Thank you codevita… I am really grateful…!! :innocent: :innocent:

4 Likes

I would recommend not to participate any TCS contest unless you want to waste your precious time. :slightly_smiling_face:

2 Likes

I think the topic name should be "TCS CodeVita: Zone 2, A real massacre"

3 Likes

same that shit is happening to me

1 Like

I am pretty sure you haven’t solved Even Odd :stuck_out_tongue_winking_eye:

After all, they tested the problem thoroughly, and we 3000+ candidates are noobs.

2 Likes

I also wasted 3 hrs on zoo design problem but it failed private test case

1 Like

Ha bhai. Sirf ek question solve hua path through graphs. Chu he ye codevita wale

2 Likes

#I was getting right answer for sample testcases… but WA for private T.C
def countpal(n):
c = 0
for i in range(n*(pow(10, 6)), n*(pow(10, 6))+235960):
if str(i) == str(i)[::-1]:
c += 1
return c

n1, n2 = map(int,input().split())
ans = 0
if n1 == 0 and n2 == 0:
ans = countpal(1)

elif n1 == 0:
n1 += 1
temp = countpal(1)
for i in range(n1, n2+1):
ans += countpal(i)
ans += temp
else:
for i in range(n1, n2+1):
ans += countpal(i)

print(ans)

1 Like

Problem statements are very ambiguous this time. Solved only one problem in 6 hrs.
Really disappointed. How many problems did you guys solved?

2 Likes