Given an integer N, the task is to find all possible integer M in the range [2, N] such that the bitwise OR of all… Read More The post Find all M in range [2, N] such that bitwise OR till M is equal to the value till M-1 appeared […]
Rubin
Given an N-ary Tree. The task is to print the level order traversal of the tree where each level will be in a new line.… Read More The post Level Order Traversal of N-ary Tree appeared first on GeeksforGeeks.
Problem Statement : Suppose a man had some amount in his wallet, he knows a bank that doubles the money immediately but the fee at… Read More The post Puzzle | How much money did the man have before entering the bank? appeared first on GeeksforGeeks.
I’m doing a project where I’m trying to capture any process on Windows attempting to communicate through TCP ports 587, 465, and 2525. I have experimented with several parameters for netstat for this and had been using netstat -ano -p tcp | findstr "587 465 2525" until I realized that […]
Given a binary array arr[] of size N, the task is to find the count of distinct alternating triplets. Note: A triplet is alternating if… Read More The post Count of distinct alternate triplets of indices from given Array | Set 2 appeared first on GeeksforGeeks.
I just moved into a house which only century link can provide internet, which is through the phone lines. Although the house has female coax ports in almost every room, the only female phone line port is in the bedroom, which forces me to have the router in the bedroom. […]
As the title says, how can I do that? I have an old pc case with space for 9 3.5″ HDD’s, and I want to use it as a server for 4k video/picture storage. The case has a GTX460, and 4 sticks of 2gb ddr3 Ripjaws RAM. Do I need […]
I have an MSI GF63 THIN-9rcx, while using windows dragon center used to take care of automatic fan control but recently I shifted to Ubuntu 20.4 and my system now boils (all this by just using chrome and 1-2 light weight apps in background). How to control my FAN speed? […]
I have a development server set up without connection to the Internet. (I update it using a makeshift http proxy only when required.) This afternoon, I realized that it’s time was off of about 2 minutes. Fortunately, we have a Windows Server 2016 with a NTP service active, so is […]