Basic data structure

C++ has many simplified data structures that we don’t need to write ourselves, and let’s talk about them. At first, I will write about what they do, what their structure is, and then I think I will write the code for all of them myself and how they work. Array About Array. An Array can be thought of as a container that can hold many things. Currently we only store 1 value in 1 variable, so what if we need to store 2000 variables?...

April 4, 2023 · 9 min · 1769 words · Me

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