FAQ: Nodes: Conceptual - Nodes Detail

This community-built FAQ covers the “Nodes Detail” exercise from the lesson “Nodes: Conceptual”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Computer Science

Linear Data Structures

FAQs on the exercise Nodes Detail

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Referring to the questions in the Instructions:

What is different about node_c ?
Why might that be useful?

My answers:
node_c 's data is null and it links to 2 nodes. It may be useful to create nodes like this to create a primarily functional unit that doesn’t hold data but only points to other nodes.

Any corrections or discussion would be much appreciated!

4 Likes

I also have a same doubt ? Where it can be useful? or any application of that.?
can someone tell me about this.?

Why are nodes containing no data useful ?

What is different about node_c ?
Node c 's difference is it point to more than one other node, it means its datas are shared by multiple nodes. Its datas are null, maybe for an input user?

Why might that be useful?
It can be usefull in term of runtime, since it can “distributes” input user datas into differents “place holders” at the same time.

6 Likes

This should be probably the best answer so far. Thanks.

1 Like

Node_c can be used to create multiple branches in a Tree or a Linked List. For it to contain more than one pointer, it means that the variable data type used is a List or an Array as against the data type used for the other pointer variables for node_a and node_f that can store single values.

2 Likes

Am guessing it will enable dynamic data through a users input.