Keywordio interview question

write a program to convert doubly linkedlist into binary