As per name we understand that it means it will be searched in Linear order.Search the particular element one by one until not find.Linear Search not a more efficient searching algorithm.Time Complexity of the Linear Search is O(n), where n…
Category: Geekycodes
Installing the mongo-cxx-driver step by step
Step 1 : Download mongo-c-driver Step 2 : Updated GCC and G++ compiler after version 5 .current version 7 in system . Step 3 : Mongo-c-driver Version(1.15.x) version is same version and with mongo-cxx-driver (3.5.x) Step 4 : Updated CMake 3.2 or later. Step 5 : Install Mongo-cxx-driver
Step by Step Mongodb Installation in centos7
Step 1 : Create a file where we install Mongodb Run Command: vi /etc/yum.repos.d/mongodb-org-4.2.repo Step 2 : Copy This in above file [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc Step 3 : Install the MongoDB packages. sudo yum install -y…
Coalesce in SQL
Coalesce is a SQL function used for handling NULL values. It returns the first non-null expression from the list. Each expression is evaluated for being NULL or not and the first non-null expression will be returned as the output. It…