Here’s my code for count of binary strings. When I am doing dry run it’s giving correct output but when I try to submit it on hacker blocks it gives wrong answer for 2 cases.
Count number of binary strings
hello @div_yanshu07
use long long in place of int (for array as well as for function return type) and then try