C_o_d_e__'s blog

By C_o_d_e__, history, 6 months ago, In English

Find maximum length of subsequence of an array where odd and even index of subsequence having same element in ### o(n*n) for eg. array=[1,2,8,1,2,8,2] maximum length of subsequence if 2,8,2,8,2

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By C_o_d_e__, history, 6 months ago, In English

you have an array in one operation choose two different element and remove from array return minimum length of array
you can do this operation any number of times

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By C_o_d_e__, history, 7 months ago, In English

lets we have

string s="" , k="abcd";

(1) s=s+a;

(2) s+=a;

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By C_o_d_e__, history, 16 months ago, In English
int a=10;
int b=(++a)+(++a)
b is 24

Another

int a=10;
int b=(++a) + (++a) + (--a) + (++a);
b is 47

HOW BOTH IS WORKING

Full text and comments »

  • Vote: I like it
  • -5
  • Vote: I do not like it