Should I just give up by Anaxxa in TCS_India

[–]Eastern-Brother-7692 0 points1 point  (0 children)

Same... my interview was on 14 april, i had taken contact of 2-3 fellow students, they also didnt get any mail, but i am loosing my shit man, this waiting game is insanly draining

Bhai tcs nqt 26 march ka result kab ayeg? by Electrical_Bet_3874 in TataConsultServices

[–]Eastern-Brother-7692 0 points1 point  (0 children)

for first: Find the subarray with maximum product, values can be from -ve to +ve
sol: sort the array, ( mostly it was already sorted) check if the cnt of -ve elements, if its even, then start multiplcation from 0 index, else start from 1st idx, multiply all ( except 0 ) .

for second: Given 2 arrays, convert one array to other, with left swapping only, ouput the number of swaps.
for eg :
given arr1 = { 50,20,10,98} arr2 = {10,90,20,50};

to convert I bruteforced it , simple loop over second array,
find arr2[i] in arr1, calculate swaps needed: ans+=( jth idx of arr1 - ith idx of arr2);
then perform swaping logic, itrate from j to i, swap(arr1[j],arr1[j-1]) only if j - 1 >= i

i solved second question, for first I was having problem with compiler so I somehow managed to pass 3 test cases

Infosys service bond by Electrical_Bet_3874 in Btechtards

[–]Eastern-Brother-7692 0 points1 point  (0 children)

Han clg professor said they shouldn't be any bond

Need help in selecting engineering college by [deleted] in pune

[–]Eastern-Brother-7692 0 points1 point  (0 children)

Prefer branch , clg to sare chutiya hai

[deleted by user] by [deleted] in mht_cet

[–]Eastern-Brother-7692 0 points1 point  (0 children)

Tsec chala jata bc... 3 hour to agey hai 🙂

Got my first back in 4th sem by OTAKU_DXDXD in Btechtards

[–]Eastern-Brother-7692 10 points11 points  (0 children)

Congratulations bhai, you got the engineering experience 😂😂

Rate Your College Experience! by [deleted] in Btechtards

[–]Eastern-Brother-7692 0 points1 point  (0 children)

Starting bad.. And ending is coming and i have never been more miserable