Here is the situation:
While working by company A on project A you developed a very fast and perfect search algorithm.
Then you switched to company B to work on project B which is totally different from project A, but you find yourself in need of implementing a search algorithm.
But you know or think that you are not going to come with a better algorithm and if you try to reimplement it, it will look very similar to the old one.
- Would you use the algorithm that you developed before?
- Is this practice/behavior safe and ethical?