Aug
10
awarded Famous Question
Jul
18
awarded Notable Question
Jul
17
awarded Popular Question
Jul
13
awarded Yearling
Jul
13
awarded Yearling
May
27
comment conversion from string to json object android
@Phil That doesn't appear to be a valid java String assignment. I don't understand what I am doing differently though JSONObject obj = new JSONObject("Fat cat":"meow"); I figured it out, I needed to use \ infront of the quotes, and then actual quotes around the whole thing. Thanks.
May
26
comment conversion from string to json object android
@Phil This does not appear to work if I change json to "Fat cat" or any other simple string like that. What is going on? I just pass to the catch block.
Apr
17
awarded Caucus
Feb
21
comment Recurrence Relation: Solving Big O of T(n-1)
@AndreasJansson I do not follow your algebra on the first two steps. You claim that $T(n-1) + 2 = (T(n-2) + 2) + 2$ but I do not see how you come to this conclusion. Nothing in the problem hints at this so how can you make this assumption? What if $T(2) = 10000000000000000$ we don't know so how can you assume that it isn't?
Feb
14
comment Finding the mod of a difference of large powers
Yes I see that but how did you figure out to extract the numbers in that manner?
Feb
14
comment Finding the mod of a difference of large powers
Where id 64 come from?
Feb
14
comment Finding the mod of a difference of large powers
so if we are working with mod 3 then 1, 4, 7, 11 and so on are all replaceable regardless of their power?
Feb
14
comment Finding the mod of a difference of large powers
Why are you using negative numbers in modulo arithmetic? Why does it matter if a number if negative?
Feb
14
comment Finding the mod of a difference of large powers
I know a little bit of modular arithmetic and the idea of congruence, I am just not familiar with the math heavy notation and acronyms.
Feb
14
comment Finding the mod of a difference of large powers
I don't know the binomial theorem either but how is it that you are taking the powers of 4 and 9 and turning them both into 1?
Feb
14
comment Finding the mod of a difference of large powers
I do not and I do not know what | means
Feb
14
comment Finding the mod of a difference of large powers
I don't understand the $6 | 1536$ part, what does that mean?
Feb
14
comment Finding the mod of a difference of large powers
I don't follow that logic, can you demonstrate with a more simple example?
Feb
14
comment Finding the mod of a difference of large powers
Can you explain your notation, I am not familiar with it enough to read this commit. I don't know what the : implies, I don't know what CRT is, I don't know what lcm is either. Thanks.
Feb
14
comment Finding the mod of a difference of large powers
It was there but I meant that I tried to use it and was unable.
1 2 3 4 5