also how to increase this reputation thing i am unable to ask questions.?
You dont have to check for constraints. Constraints means that, the question setter is telling you “The values in input of these variables range from this to that.”
Computer dont have infinite memory and execution speed, so they check your code over some moderate-large inputs- and must specify the size of it so you can make a program to efficiently handle it 
@vijju123 then why my above submission is failing to satisfy the given sub-task2 even if my piece of code is not computing anything for large inputs.
will any plz.look at my submission once.
Its getting tle, meaning your approach is slow and is not giving output in required time.
I think there was something wrong with this question. Just checking for presence of characters gave me an AC when I attempted.
like atleast theres no logic error in my code right?
15 November
I dont think so. Try comparing with other AC codes.
You can ask . The questions, however, must not be from any live contest. Tahts the only restriction. Else whether they are at spoj, hackerrank, hackerearth, codeforces, etc. you can ask.
You just need 3 karma to ask questions. This is done because people tend to spam, and ask repetitive questions. It was seen that removing the limit degraded quality of forums, hence the limit was put back and users with <3 karma were asked to ask via this thread.
Java codes are slower compared to c++. That is why there is usually 2x Time limit for Java as c++. If you can switch to c++, you may do so. I recommend it, but it’s not necessary
Yes. The trick is called “practice”. Anyway in the beginner section, click on Successful Submissions on the top near Accuracy, code etc. You will get a sorted list based on highest number of submissions. You should find them easier. Just get going! Good luck.
Try easy section of hackerrank- lots of spoonfeeding there. I started from there because that spoon feeding helped me grow till I could do things on my own. No shame admitting, I couldnt even take input correctly then XD
Hmmm…I dont think so. Where will you place it, to left or right? XD
I think you will need a minor modification for duplicate element.
Yes they are! Depends upon the problem you are trying to solve.
You just decide if equal elements go to the left or right in ordering.
Soon…
Had you asked this in any other thread, you would have received a ban. Ask your questions here, karma begging is NOT allowed. We are strict here.
Can you please reword it in a way that it feels more relevant? Like, how is your question relevant to the coding community? I cannot get that.
I find this Karma system bad for newbies like me and would appreciate any help.
Its there for a reason. Because some questions are repetitive, some just shouting “GOOGLE ME” which are asked by newbies. At one point @admin did remove the 1 karma thing and quality of threads deteriorated exponentially.
Your question is also repetitive. I assume you are running it on local machine. You cannot declare an array of size as big as {10}^{7} on your local machine. The best you can do is trying to declare that array globally. Many problems restrict themselves at {10}^{6} for this reason,
Ok, thanks. I did not know that there is a limit on array size. It’s only when you ask questions do you learn things.