Computer Science, asked by peaceonly, 8 months ago

I don't know how to apply logic in a Java program ?? I am afraid of computer , please help me ! ​

Answers

Answered by malikkamini
1

Answer:blocks or typing? java script don't worry I will help you but plz tell that blocks or typing

Answered by mahibansal44
0

Answer: say you have to write code to find an element in a doubly list. Create an analogy in your head that you are trying to find something in your room. Now, you alone searching it in exhaustive manner will yield you result but not fast enough. So you call a friend, you place him at the other end and you both start searching. Isn’t it going to be faster now? Same way, instead of placing 1 search node pointer and running it through the list till exhaustion is also a solution, but if the element you are trying to find resides somewhere at the end part of the list, it is going to be time consuming. So you take another pointer and place it at the end of the doubly list. Get it? Try to think of a solution this way.

i think this will help!

Similar questions