Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 1.24 KB

File metadata and controls

14 lines (9 loc) · 1.24 KB

BitwiseXOR hard

by jiangshan @jiangshanmeta

Take the Challenge

Implement BitwiseXOR<S1,S2> which takes two binary string literal type and returns a binary string that reprents the bitwise XOR of S1 and S2

For example:

BitwiseXOR<'0','1'> // expect '1'
BitwiseXOR<'1','1'> // expect '0'
BitwiseXOR<'10','1'>  // expect '11'

Back Share your Solutions Check out Solutions