Please suggest if any help .
shuold Ruby on rails developer know data structure and algorithm in depth ?
Check out this repo: GitHub - kanwei/algorithms: Ruby algorithms and data structures. C extensions
You can use interviewcake.io and select ruby as your language and all descriptions and solutions are in ruby.
You can also use ruby on leetcode.
As a developer it is always beneficial to have a solid grasp of available data structures and basic algorithms.
Personally I think you should rely on any language to learn data structures, instead, you should learn the concepts, with that you can then apply it in any programming language that you want. That has been my approach and it has helped me a lot.
Any programming language can be learned