Volodymyr Levytskyi wrote:Hello!
What type of data structure do you use to do your search.
It is not clear from your post.
In java you can use queue(first input first output), deque(doyble-ended queue) or stack(last input first output).
To get these data structures you should use LinkedList's corresponding methods.
If you want to implemenet your own kind of LinkedList then you need to know internal life of LinkedList.
To know more about stack,queue,deque implemented by LinkedList read my tutorial on Internal Life of LinkedList.
Winston Gutkowski wrote:
Sahil Manchanda wrote:Hence can you guys please suggest modifications to make is more time and memory efficient.
Well, other than what the others have said, my advice is: don't use a BigInteger as a parameter.
That fact is that BigInteger's are NOT unlimited in size; and you'll overflow one long before you hit the limit of even an int - and probably run into space problems on your machine long before that. Indeed, it might be a fun exercise to work out exactly when your factorial calculation will exceed the maximum possible value for a BigInteger (2^68719476704 - 1).
Using an int also allows you to use things like switch statements; which in your case may be very useful.
Prajwal Shetty wrote:Congratulations Sahil
I guess by now you might have already received your e-Certificate in the emailid registered in your certview account.
This mail also contains a link wherein you can apply for the hardcopy to be shipped to your address specified in the Pearson VUE account.
You will likely receive the hardcopy within 4-6 weeks after applying for it via the link provided in mail.
Best Of Luck for your next exams
binay shah wrote:Congrulations.
Can you please share your experiences with the exam. What practice exam did you use and how was the exam? Is time sufficient?
Vigneshwari Chandrasekaran wrote:please do the tests from examlab. don't worry about the score.. but learn from it
I wish you all the best to get 100%!!
Deepak Bala wrote:
1.I am scoring around 74% in the exams by sierra and bates. am i ready to give the exam? I've done K&B and lots of mock questions. I also did some chapters from mughal ! any suggestions regarding what my pln should be for the rest of the two days are welcome.(Should i go for exam lab?) I will be thankful!
Only you will know if you are ready. If you feel confident, then you are ready.
2.As this is my first time for a proctored exam. Please tell me about the things i should keep in mind about the center of the test. what should i take with me as in I.D. proof and stuff like that. Also any special precautions. I am really a novice on this front so help will be appreciated.
Call up the center and ask them about the procedure. Usually you are given a marking pen and a sheet of plastic to write on. No electronics allowed.
3. I tend to mess up on the questions about java or javac command and JAR etc can you tell me where i can study these topics from as the development chapter is not proving enough in my case from K&B.
The ScjpMockTests page lists a few sources of mock exams. Find one that will allow you to browse questions by topic and take it. Nothing like quizzes to check your understanding of a concept.
Tina Smith wrote:You have two objects that are pointed to the same file. Each one appends a line to that file every time you println to it. I would expect the contents of your file to be
we are even
yes i did
What did you expect to see and why?