kodeflap / Algo_Guide

Algo Guide is an educative android app for studying data structures and algorithms.
Apache License 2.0
11 stars 8 forks source link

Adding different search algorithm #8

Closed kodeflap closed 2 years ago

kodeflap commented 2 years ago

Check out it task You have to implement the search algorithms in Kotlin.

ken1000minus7 commented 2 years ago

I would like to work on this issue ✌️

Fazil29 commented 2 years ago

Do we have to write binary search as well as linear search?

kodeflap commented 2 years ago

Hello check out the milestone for this issue

ken1000minus7 commented 2 years ago

@kodeflap For dfs and bfs, should the input be an adjacency list?

kodeflap commented 2 years ago

yes

kodeflap commented 2 years ago

More than adding commenting use KDoc commenting method so that it will be easy to generate the documentation of code.

ken1000minus7 commented 2 years ago

@kodeflap Ok will take care of that 😇

ken1000minus7 commented 2 years ago

@kodeflap Just wanted to confirm, what should the dfs return? Should it return a boolean indicating whether a target element is found or should it return an array representing the depth first traversal?

kodeflap commented 2 years ago

It should return boolean indicating the value because, I am planning to get visualization for the above algorithm so it will be better to return boolean.

Fazil29 commented 2 years ago

Are there any more searches left to add?

kodeflap commented 2 years ago

I think it's almost over for search. You can work on other dsa concepts like array, stack, queue, tree etc. Algorithm. You just needed to raise a new issue about specific topic you are working😃

shashankdaima commented 2 years ago

Can I contribute to this issue?

kodeflap commented 2 years ago

Can I contribute to this issue?

This issue is almost done 😅. But you can work on other DSA concepts just open a issue🙂