Number of days after which tank will become empty

Given a tank with capacity C liters which is completely filled in starting. Everyday tank is filled with l liters of water and in the case of overflow extra water is thrown out. Now on i-th day i liters of…

5 Algorithms Every Programmer Should Know

 Programming algorithms are computer procedures that is a lot like a recipe (called a procedure) and tells your computer precisely what steps to take to solve a problem or reach a goal. Algorithms play an important role in the career…

Top Resources for Computer Science Learning

For self-starters interested in technology, there have never been so many resources for free online education List Of Best Resources for Online Learning Competitive Programming HackerRank provides you a good platform to solve coding problems with inbuilt compiling and execution…

CRUD Operation in Mongo-cxx

What is CRUD operation ? Basically this term use in the database (like SQL,Mongo etc). 2. In Database we generally perform four operation : C - Create : It will be perform create database by Inserting data . R -…

Installing the Mongodb-C Driver (libmongoc) and BSON library (libbson)

Step 1 : Run the Following Command: wget https://github.com/mongodb/mongo-c-driver/releases/download/1.6.3/mongo-c-driver-1.6.3.tar.gz tar xzf mongo-c-driver-1.6.3.tar.gz cd mongo-c-driver-1.6.3 ./configure --disable-automatic-init-and-cleanup --prefix=/usr/local --libdir=/usr/lib64 --with-libbson=bundled make make install Step 2 : To compile and run the program use following command: gcc -o filename filename.c $(pkg-config --libs…

%d bloggers like this: