DATA STRUCTURE AND ALGORITHMS

I am pretty good at coding at some extend but I lack in some of the mathematical questions as well as DS and ALGO can any one guide me how to overcome my weakness really need help…

long long Help(int ur_suggestion, long long my_effort)
{
if( ur_suggestion==1)
if(my_effort==1)
cout<<“Success”;
else
cout<<0;
}

please call my function…

Link 1 : https://www.codechef.com/certification/data-structures-and-algorithms/prepare#foundation
Link 2 : Data Structures and Algorithms