Scribd Inc. Interview Question

How can we turn this function into one that accepts a generic Type? Then how to specify the type using <T: MyType>

Interview Answer

Anonymous

Oct 19, 2018

I looked this up on google right there. Pretty sure the dev was unimpressed, but I believe I solved the problem so whatever.