Is learning arrays or any linear data structure worth learning if you are willing to master algorithms? Because sorting algorithms can be done on non linear ones too.