tree tag

19 questions


1 answers
116 views
0
Tree Data Structure in Java

Is there a good data structure that is tree in Java? All I need isCan I make something like this?

1 years ago

1 answers
130 views
0
I don't understand why I get double pointers with C binary tree insertion/deletion parameters

I think it's enough to receive a single pointer with the C binary tree insertion/deletion parameterIt's hard to understand why a book or a few blogs receive double pointers as parameters.The following...

1 years ago

1 answers
82 views
0
When implementing a two-way navigation tree with Linux,

We've already implemented a binary tree in the input fileYou need to implement a code that finds the level with the highest number of nodes in that binary tree.Set the input file (input.txt) in advanc...


1 answers
102 views
0
Attribute error keeps popping up even though it is definitely a node in the Binary tree.

Hi, how are you? I'm so stressed out and no one is helping me and I'm asking because I don'tNo one is helping me at school, and the professor is not answering and not interested. The quality of teachi...

1 years ago

1 answers
84 views
0
Why is there no tree container in C++STL? Please let me know what I can use instead

We need a hierarchy of trees, not for performance.I looked it up to see if it was in STL, but it wasn't there.Why doesn't C++STL have tree container? tree is useful.Can anyone tell me if there's anyth...

1 years ago

1 answers
64 views
0
C language tree algorithm

If I say that I have vertices A and B, I don't know how to make sure they're connected and how to write the source code... ㅠ

1 years ago

1 answers
82 views
0
Binary tree level traversal not executed error

#include<stdio.h>#include<stdlib.h>#define MAX 10typedef struct node { char data; struct node* left; struct node* right;}Node;Node* arr[MAX];int top;Node* pop() { Node* node = NULL; if (to...

2 years ago

3 answers
124 views
0
cLanguage Parameters

When searching in a linked list, you search by creating a ListNode *p variable as shown below.void print_list(ListNode *head){ for(ListNode *p = head ; p != NULL ; p = p->link) printf(%d->,p-&g...


1 answers
98 views
0
What is the definition of the height of a tree?

I am currently studying binary tree through a book called Data Structure written easily in C language.At first, I didn't think deeply about the simple conceptGradually, the concepts started to get con...

« - 2 -

© 2024 OneMinuteCode. All rights reserved.