Find All Unique Triplets That Add Up to Sum Zero Using C Hash

Nizamuddin Siddiqui
Updated on 17-Aug-2021 07:03:40

417 Views

The easy approach is that we could create three nested loops and check one by one that the sum of all the three elements is zero or not. If the sum of the three elements is zero then print elements.Time Complexity − O(n3)Space Complexity − O(1)We could use an unordered set data structure to store each value of the array. Set provides the benefit of searching an element in O(1) time. So, for each pair in the array, we will look for the negative of their sum that might exist in the set. If such an element is found then ... Read More

Recognize and Protect Yourself from Cybercrime

Pranav Bhardwaj
Updated on 17-Aug-2021 07:03:01

462 Views

If someone steals your wallet, they will only be able to get money; but if someone hacks your system, your whole life with what you do and where you go will be in front of him. So, yes, cyber threats are real things and can be extremely dangerous. As most of the people these days store all their information online, it becomes crucial to know how you can recognize and protect yourself from cybercrimes.How to Recognize a Cybercrime?Identity theft is the illegal use of someone else's personal information to obtain money or credit without informing that person. And it is ... Read More

Stay Safe When Sharing a File Online

Pranav Bhardwaj
Updated on 17-Aug-2021 07:00:33

194 Views

How many of you go to your friend's houses to give them the files they need? I guess 1 out of 1000 and that too if that friend lives nearby. Most of us these days don't share any file, be it documents/pictures, in physical form. We transfer them through the Internet or Bluetooth or WiFi. While some of these files may be harmless if leaked by mistake, others may be confidential. So, rather than sharing important files carelessly, it is wise to choose a secure way to transfer the files to avoid risks.Ways to Share Files SecurelyThere are various ways ... Read More

What is Cyberbullying?

Pranav Bhardwaj
Updated on 17-Aug-2021 06:58:11

416 Views

Cyberbullying is a kind of bullying that occurs online through devices and systems. It can happen via emails, text messages, phone calls, social media apps, or some websites. It includes humiliating someone or causing them embarrassment by sharing something private about them which no one else knows through one of the online platforms. Cyberbullying is also considered one of the crimes that have a law against it in our constitution.We all know that popular social media apps don’t provide security when it comes to the photos or videos we are posting, and any stranger can easily see all the comments ... Read More

Can a Mobile Phone Battery Track You?

Pranav Bhardwaj
Updated on 17-Aug-2021 06:56:22

791 Views

One of the studies held at the Stanford University found that, yes, Android phones can be tracked even when their GPS and WiFi are not enabled by analyzing their power-use over time. It works on a simple rule that “A cellphone uses more power, the more away it is from the cell tower and the more obstacles are on its way to reach for a signal.” Along with this, all the other activities which use power can be factored out with the help of the algorithm the researchers studied.The term which they used to track you through your power consumption ... Read More

Remove Csrss.exe Trojan

Pranav Bhardwaj
Updated on 17-Aug-2021 06:53:18

1K+ Views

CSRSS.exe stands for client-server runtime subsystem executable file, which is one of the legitimate windows OS processes that handles most of the graphical instruction sets of the windows OS. But as it is a widespread and known process, many attackers take advantage of this and release their infected malicious Trojan program under the disguise of CSRSS.exe name.How Does CSRSS.exe Trojan Spread?Before knowing how to remove CSRSS.exe, it’s obvious that we should understand how it could enter the system and how you can detect it?The main possibilities from where it could have entered your system are −Sometimes, while downloading other things, ... Read More

Tips to Secure Your Identity Online

Pranav Bhardwaj
Updated on 17-Aug-2021 06:50:10

266 Views

We live in a world where identity threats are more dangerous than any road thefts. If someone steals your wallet, they will only be able to get money, but if someone hacks your system, your whole life with what you do and where you go will be in front of him.Cyber threats are real things and are way more dangerous, as most of the people store all their information online these days, and hence, it is very crucial to know how you can delete all your digital footprints and save yourself from identity theft.What Can Be Done with Stolen Identity?It's ... Read More

Search in a Row-wise Increased Matrix using Chash

Nizamuddin Siddiqui
Updated on 17-Aug-2021 06:49:57

219 Views

The primitive solution for this problem is to scan all elements stored in the input matrix to search for the given key. This linear search approach costs O(MN) time if the size of the matrix is MxN.The matrix needs to be scanned from the top right, if the search element is greater than the top right element then increments the row or else decrement the column. The below piece of code develops a function SearchRowwiseIncrementedMatrix that takes a two-dimensional array and search key as input and returns either true or false depending upon the success or failure of search key ... Read More

Importance of Creating a Data Backup

Pranav Bhardwaj
Updated on 17-Aug-2021 06:46:35

348 Views

We all who use computers and mobiles regularly have this unpleasant experience of losing some essential data. It is in such cases the concept of data backup comes in handy. Backing up your data is so important that we have an entire day dedicated to it; many might not know this, but 31st march is considered the World Backup Day.Technically, a backup is another copy of all the files stored in your computer, be it data files or family photos, or your previous homework records. So, instead of storing everything on just a laptop, we have one backup stored on ... Read More

Search in Row-wise and Column-wise Increased Matrix using Chash

Nizamuddin Siddiqui
Updated on 17-Aug-2021 06:46:07

281 Views

The primitive solution for this problem is to scan all elements stored in the input matrix to search for the given key. This linear search approach costs O(MN) time if the size of the matrix is MxN.The matrix can be viewed as a sorted one-dimensional array. If all rows in the input matrix are concatenated in top-down order, it forms a sorted one-dimensional array. And, in that case binary search algorithm is suitable for this 2D array. The below piece of code develops a function SearchRowwiseColumnWiseMatrix that takes a two-dimensional array and search key as input and returns either true ... Read More

Advertisements