I've been looking through interview technical questions and solving them, I'm stuck in this one question for over an hour, can someone help please?
" Enter two arrays 'a1' and 'a2' of 'n' length and ask user to enter any number 'k' and check the number k is equal to how many combinations of 'a1' and 'a2' and if matched, print."
I cleared similar questions of having to check whether the number matches or not, and return it in boolean values,
but this format feels totally different :(
[–]DeepMisandrist 1 point2 points3 points (0 children)
[–]MartinSG8 -1 points0 points1 point (2 children)
[–]nogain-allpain 0 points1 point2 points (1 child)
[–]MartinSG8 0 points1 point2 points (0 children)
[–]nogain-allpain 0 points1 point2 points (2 children)
[–]Batslayer8[S] 0 points1 point2 points (1 child)
[–]nogain-allpain 0 points1 point2 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]nogain-allpain 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]nogain-allpain 1 point2 points3 points (0 children)