Linear Search problem from HACKEREARTH! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Linear Search problem from HACKEREARTH!

problem Link: https://www.hackerearth.com/practice/algorithms/searching/linear-search/practice-problems/algorithm/mannas-first-name-4/description/ I have coded for this problem, But my code is only working on single testcase. I have no idea why my code is doing like that. Hoping that u will help me in this problem. code link: https://code.sololearn.com/ca154A16A12A

23rd Dec 2020, 9:17 AM
Jayakrishna
2 Answers
+ 1
Martin Taylor I'm actually started learning data structures and algorithms. I know there will be some methods to solve this problem. But i want to do it myself everything. If u know what is the problem in my code, reply me.🙂
23rd Dec 2020, 1:31 PM
Jayakrishna
+ 1
Martin Taylor thanks for sharing knowledge 😀. I think you have more knowledge on c language, i will follow you. AND AGAIN THANKS🙂
23rd Dec 2020, 6:34 PM
Jayakrishna