Igor🇺🇦
How can I iterate over the tree without using auxiliar data structures?
Do you have a tree? Isn't this a structure? What operating are permitted over it? Either I don't understand your question or I don't see problem here 😕
Do you have a tree? Isn't this a structure? What operating are permitted over it? Either I don't understand your question or I don't see problem here 😕
I have to implement a linked binary search tree. I can't use a counter as attribute for the size method
Igor🇺🇦
I have to implement a linked binary search tree. I can't use a counter as attribute for the size method
But you have to implement some sort iteration over it, don't you? How else would you search?
Binary searched tree is default sorted
Igor🇺🇦
And what's the point of this tree if you can't get any element?
To get a element you only have to search in one branch
What is in average log(n) elements
You needn't to itarate all elements for get one
Igor🇺🇦
Did you implemented the tree you were given one?
Igor🇺🇦
So you should implement iterator for it as well. I still don't understand what can you do with a tree without ability to iterate over it
Igor🇺🇦
Try reading this for the algorithm https://www.geeksforgeeks.org/tree-traversals-inorder-preorder-and-postorder/
So you should implement iterator for it as well. I still don't understand what can you do with a tree without ability to iterate over it
I'm able to iterate it. The problem is that my teacher forbade me to use queue or stack, or recursivity
Igor🇺🇦
You just need a counter. No need for other additional structures if you can iterate
Igor🇺🇦
What operations are allowed on the tree? What can you already do? How is it implemented?
Anonymous
Do we really not have any rules against advertising, and anything that doesn't pertain to C/C++?
Anonymous
Hi how can I send a message to all current threads in windows?
Anonymous
I need that each thread wait for a value that another thread send to it
Anonymous
So bc I don't know what thread will listen to my message y thought sending all
j@ke
is itpossible to store a sentance like "the brown dog" inside of a single string?
Dima
yes
Dima
const char* single = "the brown dog";
ruki
https://asciinema.org/a/133693
klimi
Bjarne stroustrup - programming principles and practise using c++ or c++ how to program deitel?
dm
Can anyone provide me with some combination learning materials?
1
Can this message made visible only to that user?🤔
dm
Combinations? Maths?
Combinations class
dm
Css?
Sorry, my English ability is not good
dm
The combinatorial class in c++
dm
like this way class code1 { ....... } class code2 { ........ } code1 c1(12, 10); code2 c2(c1);
Anonymous
Oh
Anonymous
It's easy, just do it like you are declaring one class, rest will be similar ( based on needs )
Anonymous
Or if you are facing some specific problem? Let me know
dm
I don't know how I can define this program to run I want some tutorials on this code2 c2(c1)
dm
It should be that my definition method is wrong. Let me practice for a while.
Anonymous
Hi
Anonymous
Hello
Anonymous
I like c++
Anonymous
I think that C++ is powerful langauge
Dima
Di
Hi thanks. I’m developer Python and stay learning about c++
Anonymous
https://www.oneplus.in/blindtest-6?code=32473720 Oa open this link and vote any pics from 4 and click lucky draw and if ur lucky then win prize
Anonymous
Hey everyone
Anonymous
Thanks. Yeah I read it. I'm well versed in English. And if it helps I'm not into spam , abuse, pornography or religion.😅 And lastly I won't make anyone do my homework.
Anonymous
hi
Anonymous
大家好
Anonymous
lol
Anonymous
Welcome.
Anonymous
I used to be here think I left e.e
Mert
Sup
Mert
Btw are you cs graduate?
Anonymous
Btw are you cs graduate?
I'm in my final year. Software Engineering.
Mert
I'm in my final year. Software Engineering.
cool. Im in my first year in computer engineering
Mert
Turkei
Anonymous
Turkei
Istanbul?
Mert
Yeah
Mert
You look like youre from india but Im not sure
Anonymous
Yeah
Well, feel free to message me when you run into problems, evet?
Anonymous
Helloo
Anonymous
I am from italy guys... I entered in the world of the programming 2 months ago
Anonymous
I hope I can do my best for sharing my future programs :D
Anonymous
Write the program that display the sum of even number between 10 - 30 using while and do-while
Anonymous
Just it’s tutorial
Anonymous
Can u help me guys
U
Can any one help me in configuring visual studio code c++ in linux
Mikhail
What exactly do you want to configure?