[Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread Smiljana Knezev
Dear all, I've written about implementing binary search trees: https://pharokeepers.github.io/pharo/2019/07/07/SmiljanaBinarySearchTreeinPharo.html Feedback and opinions is always welcome :) Best regards, Smiljana Knezev

Re: [Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread ducasse
> On 7 Jul 2019, at 23:12, Smiljana Knezev wrote: > > Dear all, > > I've written about implementing binary search trees: > https://pharokeepers.github.io/pharo/2019/07/07/SmiljanaBinarySearchTreeinPharo.html > >

Re: [Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread ducasse
> On 8 Jul 2019, at 05:51, ducasse wrote: > > > >> On 7 Jul 2019, at 23:12, Smiljana Knezev > > wrote: >> >> Dear all, >> >> I've written about implementing binary search trees: >> https://pharokeepers.github.io/pharo/2019/07/07/SmiljanaBinarySearchTreeinPha

Re: [Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread ducasse
More feedback :) Do not return nil Check the last lecture of the mooc Did you read Pharo with Style? I do not know if LinkedList is the one of the system used by Process but in that case use the alternate implementation. bfs: info "Breadth fisrt search for an information. If there i

Re: [Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread ducasse
> On 8 Jul 2019, at 05:57, ducasse wrote: > > More feedback :) > > Do not return nil > Check the last lecture of the mooc > > Did you read Pharo with Style? > > I do not know if LinkedList is the one of the system used by Process but in > that case use the alternate implementation. Sorr

Re: [Pharo-users] [GSoC blog post] Binary Search Trees

2019-07-07 Thread ducasse
bfs: aValue => findBreadthFirst: aValue dfs: info node: aNode => findDeepFirst: aValue startingFrom: aNode