Given two strings s1 and s2, The task is to convert s1 into a palindrome such that s1 contains s2 as a substring in a… Read More The post Convert s1 into a Palindrome such that s1 contains s2 as Substring appeared first on GeeksforGeeks.
Yearly Archives: 2023
Given an array nums of length N which contains two types of numbers, one which has the value zero, the second which is a positive… Read More The post Maximize total count from the given Array appeared first on GeeksforGeeks.
Given a binary matrix mat[][] of size m*n (0-based indexing), find the number of 1’s such that 1 is located at a specific position where… Read More The post Count number of 1’s at specific position in a Matrix appeared first on GeeksforGeeks.
Given an array arr[], the task is to check if the array can be sorted using the given operation any number of times. In one… Read More The post Check if Array can be sorted by swapping adjacent elements having odd sum appeared first on GeeksforGeeks.
A hash table is a data structure that allows for quick insertion, deletion, and retrieval of data. It works by using a hash function to… Read More The post Implementation of Hash Table in Python using Separate Chaining appeared first on GeeksforGeeks.
I have a Linux server that is very occasionally reaching out to a specific IP address. It’s actually being blocked by pfBlockerNG, which is fine. But I’d like to know which process on the server is doing this. Netstat isn’t much help because, by the time I run it, the […]
I was trying to move files from my phone to the PC, and can’t remember the location of the files now. Is there any way in Windows (10) to find this? I tried with file explorer and then using Windows Search to find the recently modified files in my computer […]
Context: On my desktop PC I have had Ubuntu 22.04 installed, and now I need to switch back to Windows 10 for my university. As such, I tried creating a bootable installation media for Win10 on my USB and trying to install it on my desktop. At first, I would […]