Recursion

About recursion. We have seen about functions in previous post is. So what happens if the function calls itself? This is called a recursive function. For example int sum(int a, int b) { return sum(a, b); } Let’s look at the function. sum takes 2 variables and returns an int value. But what will happen if he called himself inside? Of course it will run indefinitely and I certainly don’t want that....

March 3, 2023 · 2 min · 394 words · Me

Step by Step Programming - C

How to learn programming? In my experience, I have familiarized myself with the basics of programming and understand the fundamental concepts, then I start solve competitive programming problems. To begin with, it’s recommended to focus on learning the fundamentals of C and C++ programming languages, as they provide a solid foundation. As I mentioned earlier, problem-solving skills are paramount. Platforms like Hackerrank, Codeforces, and Codechef are excellent resources to enhance your problem-solving abilities....

February 2, 2023 · 11 min · 2310 words · Me

Intro

In this blog, I will share my knowledge with anyone interested in algorithm, programming. I enjoy solving problems and will include algorithm lessons starting from the basic level to ensure clarity for everyone. If you have any questions, please leave a comment. In the future, I have plans to explore beautiful problems and their analysis. Additionally, I have plans to write about technology and discuss various software engineering problems.

January 1, 2023 · 1 min · 69 words · Me