instruction
stringlengths
35
29.1k
Given a matrix of currency conversions, find the minimum cost conversion between currencies A and B (ex. maybe min cost conversion is A->C->D->B) I was thinking of this as some sort of max flow problem such that A and B are the source and sink respectively, but I can't figure out exactly how to transform the weights of...
Background I recently started learning the rust programming language. Suppose you want to create some complex struct, for example - a graph. I can see two possible implementations of this: The first, uses Rc to create multiple ownership (so that the nodes own directly other nodes). The struct, might look similar to thi...
Is it true that $nc^n \leq (c+1)^n$, where $c$ is a constant? If so, how?
I've seen the term caching allocator and slab allocator used in discussions about allocation strategies, and would like to understand the difference between them. I can see some resources on slab allocators, but nothing on caching allocators. What is a caching allocator and how is it different from a slab allocator? Al...
As we know, Conway's Game of Life is Turing-complete. And Turing-complete systems can be used to calculate irrational numbers such as $\sqrt{2}$, $\pi$, $e$, etc. which have non-repeating digits. So it might be natural to reach the conclusion that Conway's Game of Life can be used to generate non-repeating digits. To l...
I wonder if the following variant of the pinwheel scheduling is NP-Hard. Given a set of n radars S = {s$_1$, s$_2$... s$_n$} and a set of m areas A = {a$_1$, a$_2$, ... a$_m$}. Each radar s $\in$ S can cover a subset of A denoted by A(s) and in each time-unit, a radar can scan one area in A(s). The problem is, find a s...
Write best case, worst case and average case time complexity of following categories of algorithm– a. Constant time b. Linear time c. Logarithmic time d. Polynomial time e. Exponential time (this question which is where I am mostly confused as like if she had asked best case, worst case and average case of like a linea...
The proof of Hierarchy Theorems (including space hierarchy theorem, deterministic time hierarchy theorem, nondeterministic time hierarchy theorem) depend on constructing a Universal Turing machine which differs all Turing machines enumerated. But how to encode a Universal Turing machine to an Integer such that this Uni...
I have couple of questions about Dijkstra algorithm Can the algorithm work if there are negative weights at the starting point? Can we make the algorithm work with negative weights if we add a long long integer at all weights of edges so all the weights will be positive integer?
I am currently taking a computational course as part of my degree in Computer Science, and I would like to understand in depth the differences between these languages and if their belonging to R. The third language defines a constant Upper bound for the calculation steps of the machine. While the second language define...
Chapter 2: Basic Abstract Data Types of the book Data Structures and Algorithms by Aho, Hopcroft & Ullman states the following: If the list is a1, a2, ... , an, . . . For singly-linked lists, it is convenient to use a definition of position that is somewhat different . . . Here, position i will be a pointer to the ce...
I read about Hoare's logic and algorithm correctness and how mathematicians prove an algorithm is correct,But I think how does one arrive at the required precondition and postcondition?(Inductive generalization).Please suggest further readings on discovering preconditions and postconditions(theorems),I heard about comp...
Note: I consider myself to be a beginner in the field of Deep RL. Deep RL has proven tremendous success in recent years like playing atari and beating go champion. Therefore, considerable interest for the use of Deep RL was observed. However, I just do not want to go with this wave naively. I prefer to understand what ...
Is this correct? Here's my reasoning. (Definition) Math is anything that can be proved from axioms. (Assumption) All (finite length) axiom sets can be enumerated. (Assumption) All (finite length machine decide-able) proofs can be enumerated. (Enumerate through axiom sets, shortest first; enumerate through proofs shorte...
How to eliminate « a priori » all vectors in a list of vectors, whose scalar product with a given vector is zero, without actually calculating the product ? One solution would be to store the components (as rows) in a relational database table and the to discard all vectors (with a SELECT statement) whose components ar...
SAT is $NP$-complete while Bipartite Perfect Matching is in NC under derandomization assumptions. How to convert Bipartite Perfect Matching from balanced bipartites to SAT without Cook-Levin?
Given an undirected weighted tree with $n$ vertices, how can I design an algorithm that is $O(n^2)$ and other that is $O(n)$ for finding the longest path between two nodes in the tree (without repeating vertices or edges)? Intuitively I think that running BFS or DFS twice might work for an $O(n^2)$ algorithm, and Dijks...
Connectivity in undirected graph can be easily identified using Disjoint Union Set (Union Find). Is there any way to check connectivity in a directed graph efficiently other than doing Depth First search or Breadth First Search? Is there any data structure that solves this problem efficiently. For Example : a -> b -> c...
Linux Kernel in its primitive form was first written in 1991; Windows NT kernel (differ from Win9x Kernel which was based on DOS) purportedly began development in 1990. both being a monolithic kernel, they must've faced similar OS design problems. and I think OS design can't entirely be "original" in several senses: g...
I have a graph $G$ and an its fundamental cycle basis $B$. The question: is an odd cycle transversal of $B$ an odd cycle transversal of $G$?
Taking a class named Theory of Computation. Learned about Deterministic Finite Automata and just got introduced to Finite State Automata. I can't figure out the difference, are they just synonyms? https://www.tutorialspoint.com/automata_theory/deterministic_finite_automaton.htm https://www.geeksforgeeks.org/introductio...
I have a binary file with lots of 128 bit strings: For Example Line 1. 1000101001000100001111001010..... Line 2. 011010010101001001010..... and many more. I want to sort them in ascending order, and I know that counting the frequency of all strings would be as good as sorting them (as original order does not matter)....
Let's say I have a file A, which is any normal file (pdf, jpeg, mp3 etc.) Now I get the binary dump of file, say another file B{A}. And the hexdump of file say, file H{A}. Now I hash all the three files with any 256 bit HASH (SHA256, BLAKE256 etc.) I want to know that : 1. What is the possiblity of hash collision ...
We can execute a c/cpp file by creating an object file through compilatio.But why do we need to pass java bytecodes through an interpreter to execute them?Or why we can execute python/bash files by directly interpreting them? What's the differentiating feature that makes interpreter necessary to execute java bytecodes/...
Q: How one would prove the existence of an optimal substructure for the following DP problem "Equal" from HackerRank? Problem statement: My attempt: Let $ A = [ a_1,a_2,...,a_n ] $ be our initial list where for all $ 1 \leq i \leq n $, $i$ is the $ith$ person and $ A[i] $ is the number of chocolates the $ ith $ pers...
I'm studying complexity theory and I have the below question regarding $NP$-hardness proofs of optimization problems with real values. Any reference is much appreciated. For the question, take the balanced MSSC problem as an example: Balanced MSSC ($\mathcal{P}$) - Given a set of $n$ points $X=\{x_1, \dots, x_n \} \sub...
I understand the textbook explanation of how to use dynamic programming to find the minimum edit distance between 2 strings but how do we get to pick the 2nd string? I don't think the entire dictionary is compared as sometimes the difference is either in the middle or the end. I assume that in the end, what is suggest...
Question - Can an optimization problem $\mathcal{P}$ with a real-valued measure function $m_{\mathcal{P}}$ be in $NPO$ (please see definitions below), $APX$, etc.? If my understanding is correct a measure function with arbitrary real values cannot be calculated in polynomial time, hence the optimization problem cannot ...
Question - Let's suppose we have an optimization problem $\mathcal{P}$ with a real-valued measure function and the decision version of the optimization problem $\mathcal{P}_D$ (please see definitions below). Let's say we have a reduction from an $NP$-complete problem to a decision problem $\mathcal{P}_D'$ with $W \in \...
Problem Statement Given a list of XY coordinates of length N ( e.g. [(1,2),(3,4)] ) check if there is a subset of coordinates of length S where each coordinate of this subset is diagonal to each other. More details below: Coordinate A and Coordinate B are diagonal to each other if A's XY values are different to B's XY...
I am studying the operations of the Fibonacci heap. While going through min-extraction operation every step and its complexities are fairly clear to me. In short, it is: The potential before extracting the minimum node is t(H) + 2m(H), and the potential afterward is at most (D(n) + 1) + 2m(H), since at most D(n) + 1 r...
As the title says, is it possible to remove a word from a DFA? One obvious way is to calculate the language without the word that I want to remove and then construct the DFA for the updated language. What I am interested in is whether there is a way to just update the original automaton without constructing another aut...
Problem statement from HackerRank ( source: https://www.hackerrank.com/challenges/sherlock-and-cost/problem ) : In this challenge, you will be given an array $ B $ and must determine an array $ A $ . There is a special rule: For all $ i$, $ A[i] \leq B[i] $ , . That is, $ A[i] $ can be any number you choose such tha...
Overall, one would naturally think that with n different nodes, and for x(1) for example representing node 1, it would be like: x(1)+x(2)+x(3)...+x(n) <= k This would mean that for every possible solution of k-vertex-cover, the maximum amount of literals being true has to be lower or equal to k. So much for understandi...
Some books of permutation and combinations ,theorems are to proved while in some book problem is to be solved using logic.
I have an intuition that this algorithm should have o(n) time complexity but I cannot prove it rigorously. The question is as follows: Suppose you have an n×n 2-dimensional array A such that each row of the matrix consists of some number of 0s followed by some number of 1s. Describe a method for finding the row with th...
I came across this cross sign when reading a book. Does anyone know what does this mean in the context of a function?
I am failing to understand the "visits sequence evaluator in attribute grammar". Is it an order on instantiated tree nodes where on each visit to a node we evaluate a particular node and we may end up visiting a node more than once. Is it correct? There are two paper that describe the visit sequence evaluator: Kastens...
I think top-down dynamic programming is mostly recursive (at least when we use memoization). For instance, solving the rod-cutting problem by this algorithm: MEMOIZED-CUT-ROD(p, n): let r[0..n] be a new array for i = 0 to n: r[i] = -\infty return MEMOIZED-CUT-ROD-AUX(p, n, r) MEMOIZED-CUT-ROD-AUX(p...
To find out whether a grammar G is LL(1) or not, we test this condition among other conditions, "If whenever A -> alpha | beta are two distinct productions of G, alpha and beta can't derive string beginning with the same terminal.What should be the corresponding condition for a LL(3) grammar?
I'd like some help with figuring out the algorithm for the Sieve of Eratosthenes with wheel factorisation. Specifically, I need help figuring out if it's possible to convert between an index and the number its supposed to represent (or between an index and a spoke and turn pair), and if it is, how it'd be done. For mor...
I'm a bit confused about kernel-threads, I searched a lot at the Internet, SOF and here but found very diverse and conflict answers. What is the need for Kernel threads? Are they threads that are only responsible for responding to system calls? Or they are threads that are encapsulating User threads and execute the use...
(Readers familiar with the mathematical framework of support vector machines may skip to "The problem") https://youtu.be/eHsErlPJWUU This is a lecture video by Abu Mostafa on support vector machines, which I have been following. I'll summarize what he says so the reader may not have to go through the entire video: Give...
I have two sets A and B. Each tuple from A x B has a score associated to it. E.g.: I: (A1, B1) -> 5 II: (A1, B2) -> 7 III: (A2, B1) -> 3 IV: (A2, B2) -> 4 I now want to get the combination of tuples that has the highest value. However, every item can only be used once. So in this case the possible combinations would ...
I am studying about gossip architecture. This is gossip architecture-: Gossip architecture provides 2 guarentees-: 1)Each client gets consistent service over time(meaning even if clients use different RMs, the returned data reflects the updates seen by client as of now) Relaxed consistency between replicas-: All RMs...
I'm from a non-technical background. (Mentioning this for the convenience of explanation w.r.t intelligibility) Book Name - "Introduction to Algorithms" Authors - Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein.
The following question appears in Introduction to Algorithms (CLRS): Suppose that we use double hashing to resolve collisions; that is, we use the hash function $ h(k, i) = (h_1(k) + ih_2(k)) \bmod{m} $. Show that the probe sequence $\langle h(k, 0), h(k, 1), \dots , h(k, m - 1) \rangle$ is a permutation of the slot s...
I have an Euclidean graph $G$, but i should changes the weight of some edge of $G$ to $+\infty$. My problem is, after this change, $G$ remain Euclidean graph or not?
It is reasonably simple to show that there are an infinite number of different finite state automata that can be constructed, but has it been proven if there is an infinite number of unique finite state automata? Meaning no automata that recognize the same language. I asked my professor and he didn't know, and I haven'...
Suppose we have two computers whose performance is P1 and P2 respectively when P2=d⋅P1. What is the most accurate name for d? Is the term "transition factor" appropriate? Additional suggestions are welcome. Suppose we have a computer whose performance is affected by two factors F1 and F2. We are interested in prese...
Given a finite set of lists with elements ($e_1, e_2,..., e_7$) and $e_i = True, False$. It is possible to create a new list by taking two lists and apply the $\land$ operator on both lists ($e_i$ in the new list is $True$ only if $e_i$ are $True$ in both parent lists) The aim is to find a way to obtain the list with ...
Usually we use the tree data structure when we care about time complexity for ins/del/... -In this special case problem, space saving is mandatory too that is 2 pointers for each node is unaffordable; actual data are in leaves so infact even the internal nodes are considered overhead -So, I thought of storing it as a ...
The textbook I am currently studying (Introduction to Kolmogorov Complexity and Its Applications by Li and Vitanyi) uses the term 'recursive bijection'. In this context I believe that recursive refers to a total recursive function (i.e. a computable function which is defined for all arguments). Consider two countably i...
The simplest Reduction for 3-SAT to 1-in-3-SAT reduction is as follows: For each 3SAT clause: $x+y+z=1$ Introduce 4 new variables ${a,b,c,d}$ and replace original clause with below 3 clauses: $R(x−,a,b)=1$ $R(y,b,c)=1$ $R(z−,c,d)=1$ Query: Given a 3SAT instance how can we reduce it into (as simple as possible) 1-in-3SA...
Instead of finding a solution to a system of linear inequalities (Ax + b >= 0), I want to find any system of linear inequalities that satisfy a set of feasible points and does not satisfy a set of infeasible points. As the image shows, I am given points (either a bunch together or one by one) labelled with in/out, yes/...
Aggregation is an abstraction concept for building composite objects from their component objects. ... the possibility of combining objects that are related by a particular relationship instance into a higher-level aggregate object. This is sometimes useful when the higher-level aggregate object is itself to be relate...
I am having problem solving this recurrence. Can anyone help me with this please: $$ T(n) = 2(T(\sqrt n))^2 , T(1) = 4. $$
Why does the BOM consist of two bytes instead of one for example in encoding utf-16? Information about the order of bytes can be easily saved on just one byte. Is it because it would be good for the sum of coded bytes to be even?
This question is inspired by a recent (imo bad) TV show in German television. Given two finite sets $A$ and $B$ of same size (representing two groups of people) and a bijective map $m \colon A \to B$ which is unknown (representing a matching). We also define an oracle $o \colon (A \to B) \to \mathbb N$ which yields for...
I heard concept of virtual memory is using disk to save temporary progress or data instruction (temporary data). About temporary data, it's main job of physical memory (RAM) so that's mean virtual memory is helping main job of physical memory. Virtual memory work in software level and hardware level. Even though my maj...
I have a list of $n$ disks in $\mathbb{R}^2$ with center and radius $(x_i, y_i, r_i)$. I also have $Q$ line segments $l_1, l_2, ..., l_Q$. I am interested in preprocessing the $n$ disks (or the line segments!), to answer the following query: Given segment $l_k$, is there a point on $l_k$ not inside any disk? There is a...
I have researched this topic in the last time, but no usefull results for me. So I'm here and I please you to help me with the following problem: What is $VCdim$($\mathcal{H}$), where $\mathcal{H}$ is the class of concentric circles centred in origin in the 2D plane?
I'm trying to compress unordered lists of a few thousand integers for transmission over HTTP, and Claude Shannon is disappointing me with his mathematical ambiguity :) Each integer is 6-digits, so representing such a list naively, let's say we'll allocate a fixed 20 bits per integer, stored in whichever order they happ...
In recursion theory, it is possible to diagonalize a computable function out of the class of primitive recursive functions. Can you do the same with context-sensitive languages? I was thinking we could use the LBA and the finite countable set of possible configurations to diagonalize a TM out of this set or something a...
If $f(n) = 5n^2 + 3n + 7$ can be written as $\Theta(n^2)$, then how to write the following in $\Theta$-notation: $$ \frac{6^n - 1000}{2^n + 1}. $$
I have two related questions: Do you know of any good reference to the recursive function / lambda-calculus equivalence in terms of computability, including proofs? Do you know of any reference to subclasses of computable layers in lambda-calculus, like you have in recursion theory? It looks like you can't "dumb down"...
Suppose that we are given a key $k$ to search for in a hash table with positions $0, 1, \dots , m-1$, and suppose that we have a hash function $h$ mapping the key space into the set $\{0, 1, \dots , m-1 \}$. The search scheme is as follows: Compute the value $i \gets h(k)$, and set $j \gets 0$. Probe in position $i$ f...
I am trying to understand hamming codes for single bit error correction. I understood all the things like hamming distance , k bit error detection and all basics for hamming codes. Also, I know the algorithm for error correction using hamming codes. I have read many answers from different stackexchange sites and also ...
I started learning DSA recently and I came across the Dynamic Connectivity Problem. One of the listed real-world applications of the Dynamic Connectivity Problem is "pixels in digital photos." How do you apply it to photos? What is it used for? I can understand its usage in a social network or a network of computers ...
We say that a Turing machine is fragile, if it halts after changing the symbol of one of the tape cells for the third time. Is it true that every language that is solvable on a Turing machine will be solvable on a fragile Turing machine? What can we say about Turing machines which stop after changing the symbol of one ...
Suppose given an array $A[1..n^2]$ that contains positives real values. Also we have a black box that have two input numbers $a,b$ and return true or false, also i know that, for any input, the black box return true for at least one pair. The goal is, we find two vales $a,b\in A$ such that $a+b$ minimized also the bla...
Currently studying the following paper: "Fair Allocation in Online Markets" - Gollapudi and Panigrahi 2014 In which they present Theorem 2 as a hardness result for online maxmin matchings (without proof). My thinking for a counterexample which demonstrates that a random ordered stream can give an arbitrarily bad result...
I have a random variable $X$ that can take finite values in $\{X_1, ..., X_n\}$ with probabilities $\{p_1,..., p_n\}$. Is there a computationally efficient way to sample a number from this set? My problem is that $n$ is very large $2^{1000}$. Also the distribution is quite arbitrary - not uniform or something nice. Co...
Given $n$ tuples $(k_i >0,a_i >0)$, is there any efficient algorithm that can dynamically track $$ \max_{i=1,\cdots,n} \left\{k_i\left(\sum_{j=1}^n a_j\right) - a_i\right\} $$ in response to online updates to $a_i$? (in $\text{poly}(\log n)$ complexity per update). I do have an algorithm in mind, which sees $k_i$s as t...
If there is a polynomial time algorithm for a decision problem $A$, which is m-reducible to 3SAT, and 3SAT is NP-complete, does this prove that P=NP?
As the title says: are there problems in $\mathbf{NP}$ that do not reduce in polynomial time to any problem in $\mathbf{NP}$?
For every edge $e\in E$ of a graph $G=(V,E)$ we know the union $U_{e}$ of the edges of all cliques that contain $e$. Can we determine, in polynomial time, for a given edge $e_{0}\in E$, the size of the maximum clique that contains $e_{0}$?
I am going to design a Turing machine for doubling any words. My algorithm is such that for word X as input, the output will be in the form X@X which @ is a character. How can design an one-tape Turing machine that give exactly XX as its output? For example, X=abba, XX=abbaabba. Thank you in advance for consideration.
Given Graph $G=(V, E)$, where each edge in $E$ is assigned a "weight" as a set of elements. $w(e) = S_e \ \forall e \in E$. Find a subset $E' \subset E$ such that it spans $G$, i.e., $E'$ connects all pairs of nodes $n_1, n_2 \in V$ through some path, such that its "total weight", the size of the union of all of its me...
so I was wondering how to know the sequence a Turing machine T computes? We are reading The Annotated Turing by Charles Petzold at the moment which includes Turing's original paper "On Computable Numbers, with an Application to the Entscheidungsproblem" and adds explanations. As far as I understand we are looking at ci...
The graphing calculator Desmos has a ton of functions, and can express any arithmetric formula. What I want to know is, is it Turing-Complete? Desmos supports, among other things: Most mathematical operations / functions Multiplication, addition, subtraction, division, modulo, etc Sum and product Integration and diff...
In Skiena, S.: The Algorithm Design Manual 3rd Ed., Exercise 3.2 reads as follows Give an algorithm that takes a string $S$ consisting of opening and closing parentheses, say )()(())()()))())))(, and finds the length of the longest balanced parentheses in $S$, which is 12 in the example above. (Hint: The solution is n...
I saw the following question online: Init - Initlize data structure in O(1). Insert(s) - Add string s to your Data Structure in O(|s|). Remove(s) - Remove string s from your Data Structure in O(|s|). PrefixExists(s) - return True if there exists 2 different strings s1,s2 (different from each other) such that s is a pre...
Where I can find formal proof of there exists an equivalent parse tree for each derivation? There is a lot of informal proof of equivalency on the internet but I need formal proof to reference it in a paper.
Recently, I had an idea of a novel Deep RL algorithm that might perform better than existing algorithms such as DQN, TRPO, PPO, etc. However, I do not know of a website or a research paper that might gather/present the performance of all existing Deep RL algorithms on a set of known environments. So my question is, is ...
Which one should be faster? I have written a script comparing both run time, initially the implementation with adjacency list and minimum heap performs faster, but as the number of nodes/edges increases, it seems the latter perform faster Is this result expected?
{w | w does not contain the substring 11} What I am thinking: $(0^* 1 0^* )^*$ Is anything wrong with my expression? Thanks in advance for your help!
I'm dealing with a directed acyclic graph representing calculation steps. Imagine it as something like a big excel spreadsheet, where each cell is a node in the graph. A node (cell) can have an arbitrary number of precendents/parents, and an arbitrary number of dependents/child nodes The graph is recalculated in cycl...
If we have an sorted skiplist how can we count the occurences if it is sorted on a effective way? Occurence of the same element in the skiplist?
I recall reading about a data structure for sequences where writes in the same area are faster due to some kind of caching or structure manipulation. What are some structures that do this? I know a gap buffer is one of them (kind of), but are there any others?
This question has already been asked, but I still cannot understand how the substitution makes sense in the recurrence equation $$T(n)=2T(\sqrt{n})+1$$ Following the logic: Substitute $n$ for $2^m$. This yields the equation: $$ T(2^m)=2T(\sqrt{2^m})+1=2T(2^{m/2})+1 \\ \text{where } n = 2^m,\ m=\log_2 n $$ Great, this...
I am currently a Ph.D. student in the computer science department, I was given the subject of Deep RL for Healthcare. However, after lots of research on the internet, I could not find any free dataset or environment to develop/test my algorithms against. It seems that till now, RL and Deep RL is still focused on games ...
Following this latest and very exciting research object I can't find till now a usable computer. By computer I understand a definitive switchable Hardware. I would like to call actual "quantum computing" by the topic "researching of quantum elements for computing". Till now I found only expensive and complex quantum ci...
I have a DAG that admits many possible topological sorts. I want to construct one that has the minimum maximum distance between a node and its neighbours in an array storing the nodes in sorted order. Does this problem have a name that I can search (minimum maximum distance topological sort didn't turn up anything)? (I...
I was shown this problem from a class last year and I am still not sure what the right answer is. Items that occur with high frequency in a dataset are sometimes called heavy hitters. Accordingly, let us define the HEAVY-HITTERS problem, with real parameter $\varepsilon>0$, as follows. The input is a stream $\sigma$. L...
We all know that the worst case complexity for comparison sort is in $\Omega(n\log(n))$, but who was the first to publish this? Everywhere I look, people have their own proofs but no reference to the original. A lot of them talk about Shannon Entropy which was published in 1948.
I'm reading a paper about O(1) median filtering. I'm confused how histograms, denoted H, have the properties described. How can histograms be implemented such that: summing histograms, H(A ∪ B) = H(A) + H(B), is a O(1) operation with respect to the number of accumulated [points]?
Given a set of numbers, S {s1, s2, ... sn} and a value T, I am looking to determine if any three elements in the set add up to value T. It is valid to have repeats like 2+2+2 would be fine for achieving a goal value of T=6. This is ultimately a decision problem of whether such a trio of values exists within the set tha...
As CLRS book,page 260 stated, Thus, the total time required for a successful search is $\Theta{\left(2+\alpha/2-\alpha/2n\right)}=\Theta{(1+\alpha)}$ I wouldn't have any problem if the author says the bound is eventually $\Theta{(2+\alpha/2-\alpha/2n)}$ or even $\Theta{(1+\alpha(1-\frac{1}{n}))}$. What kind of logics...
Is it correct to talk about shortest path in a tree, isn't a tree has only single path between any two nodes ?