here is the code: https://ide.codingblocks.com/s/178650
Q: interesting encoding, Code is not running
What is the question that you are talking about.
Because the question you have attached doesn’t asks to take mod with 10^9 + 7 and also the question has “t” test cases but you have Not considered that.