Posts by Sonal Bera

Author Biographical Info: .

Sonal Bera is an undergraduate student at Delhi Technological University, pursuing his B.Tech in Information Technology.

Skilled in C++, Data Structures & Algorithms, Web Development, and Content Creation, he has a keen interest in the fields of management and finance. A quick learner and dedicated team player, he is always looking to add new skills to his portfolio. Highly efficient in multitasking, time management, and compartmentalization, uses his communication skills and administrative talents to get the best out of any given situation.

C++ program to swap all odd and even bits

By Sonal Bera

In this tutorial, we try to find a way by which we can swap all the odd and even bits. Say we have a number 76, we swap it at the bit level and convert it into 140. What we do is t.... Read More

Convert a Vector to Set in C++

By Sonal Bera

In this tutorial, we try to convert a vector of elements into a set of elements in C++. Vectors in C++ are not new but are in fact containers similar to arrays that can expand or s.... Read More

Difference between GCC and G++ in C++

By Sonal Bera

This post tells about the difference between GCC and G++. To begin with, they are the compilers that are used to compile and execute various C and C++ programs. Lets’s start .... Read More

Count minimum frequency elements in a Linked List in C++

By Sonal Bera

Hello every one, here in this article, we have to count the minimum frequency of elements in a Linked List in C++. In simple terms, we have to determine those elements in the list,.... Read More

C++ program to print next greater number of Q queries

By Sonal Bera

In this tutorial, we will write a code to display the greater number of Q queries in an array in C++. What this means is that, say we have an array with elements. The next greater .... Read More

How to pad octets of IP Address with Zeros in C++

By Sonal Bera

In this article, we are going to see how we can output an IP address with 3 digits for each part in C++. We can also say that we will pad octets of IP Address with Zeros in C++. So.... Read More

Brick Sort Implementation in C++

By Sonal Bera

Hello everyone, in this post we are going to see the implementation of Brick Sort in C++. Brick Sort is also sometimes called as Odd/Even sort. This sort is not something new, but .... Read More

Different exit commands in Python

By Sonal Bera

Hi everyone. today we are going to learn the various exit commands in Python. Python is an easy to use language but sometimes it may get a little complex. One such case is the use .... Read More