There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Kunal Lakhani wrote:Actually i never studied Data Structures & Algorithms as i am from a commerce(Accounts) background. But, in many interviews, they ask me these things.
Jesper de Jong wrote:
The book Introduction to Algorithms is a classic university-level book about learning to analyze algorithms and data structures.
Noel Alex wrote:
Well, a lot of tools exists to do this for you..
Inside your Java JDK there is a file called: jvisualvm which is found inside bin... Have you tried it??
Rameshwar Soni wrote:Can you tell me how to use this file ?
Jesper de Jong wrote:
In a Windows command prompt window, type the command "jvisualvm".
Ove Lindström wrote:Hi Rameshwar Soni,
if I may give you some friendly advice.
The first one: Relax. Don't try to write the "best code ever written". Write code that can be easily understandable and maintained.
The second one: Don't overdo it. A program evolves. Do what you have to do, try it, test it, stress it and learn how to find bottlenecks. When you find them, sort them out by refactoring them and ask specific question to those who are elderly and should know better.
The third one: Relax. And then take up Jespers advice and study algorithms. They have nothing to do with the Java language in specific. They are more general and fit more or less into all languages.
The fourth and final one: Have fun! Play around. Try things. One thing you could do is trying to answer questions asked here at the Ranch. You might not be quickest but at least you will try for yourself and then, most likely, one of the elderly will have a good answer that you can study.
Campbell Ritchie wrote:That is obviously a path problem, Rameshwar Soni. Open the java installation folder specified in your path environment variable, until you find the "bin" folder; jvisualvm should be inside that. If not, try reinstalling Java.
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!https://www.kickstarter.com/projects/paulwheaton/low-tech