@@thetechyguy18 Just had my digital test. coding question 1: input n and m(size of two arrays) input array a, arrayb print elements of array a which are not in array b. coding question 2: input a string s, input an int n. find difference of highest count of character and lowest count of character. if it is greater or equal to n, print (diff-n) else print 0. eg s = aacabab, n =2 high = 4(count of a) low = 1(count of c) diff = 3 output = 1(3-1)
Sir you have given the title as DCA Coding question but this format of coding question is for IPA/CPA. Please correct me if I'm wrong.
It's from ion lite questions which is mentioned for DCA preparation by TCS itself
@@thetechyguy18 Just had my digital test.
coding question 1:
input n and m(size of two arrays)
input array a, arrayb
print elements of array a which are not in array b.
coding question 2:
input a string s,
input an int n.
find difference of highest count of character and lowest count of character.
if it is greater or equal to n, print (diff-n)
else print 0.
eg s = aacabab, n =2
high = 4(count of a)
low = 1(count of c)
diff = 3
output = 1(3-1)
@@vismayag thankyou mam but u can connect me through telegram or what's app community it will be much better