Top "Nodes" questions

Nodes are the basic units used to build data structures such as linked lists and trees.

What is the difference between tree depth and height?

This is a simple question from algorithms theory. The difference between them is that in one case you count number …

algorithm data-structures tree nodes terminology
Why is NULL undeclared?

I have a problem with this struct contructor when I try to compile this code: typedef struct Node { Node( int …

c++ syntax nodes
How to restart kubernetes nodes?

The status of nodes is reported as unknown "conditions": [ { "type": "Ready", "status": "Unknown", "lastHeartbeatTime": "2015-11-12T06:03:19Z", "lastTransitionTime": "2015-11…

nodes kubernetes
Node.js server that accepts POST requests

I'm trying to allow javascript to communicate with a Node.js server. POST request (web browser) var http = new XMLHttpRequest(); …

javascript node.js nodes
Creating a node class in Java

So I'm fairly new to Java and programming and I was wondering how to create a node class? So far …

java linked-list nodes
How to delete/create databases in Neo4j?

Is it possible to create/delete different databases in the graph database Neo4j like in MySQL? Or, at least, …

database neo4j nodes sql-delete relationships
How can I find a specific node in my XML?

I have to read the xml node "name" from the following XML, but I don't know how to do it. …

c# xml nodes
Xml node reading for each loop

I am trying to loop through an Xml file and display the value for account in a message. XmlNodeList nodeList = …

c# xml loops foreach nodes
In-order iterator for binary tree

How can I write a Java iterator (i.e. needs the next and hasNext methods) that takes the root of …

java algorithm iterator binary-tree nodes
Getting the parent node attributes in XSL

In my XML I have the following: <a> <b> <c something="false"> <d&…

xslt parent nodes