Cloud Tunedcloudtuned.hashnode.dev·Jul 12, 2024Cheat Sheet #day47 - cpcp Command Cheatsheet The cp command in Unix/Linux is used to copy files and directories. It stands for "copy" and can be utilized for various file management tasks. Below are the basic and advanced usages of the cp command along with practical examp...DiscussCheat Sheetscopy-command
GAURAV YADAVgaurav246blogs.hashnode.dev·Dec 9, 2023151 DSA Problem journeyQ6:)Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. Example: Input: nums = [3,2,3] Output: [3] Solution: class Solution { public: vector<int> majorityElement(vector<int>& nums) { int countMajority...Discuss·11 likesC++
GAURAV YADAVgaurav246blogs.hashnode.dev·Dec 8, 2023151 DSA Problem journeyQ5:)Given an array nums of size n, return the majority element.The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists in the array. Example: Input: nums = [3,2,3] Output: 3 So...Discuss·11 likes·146 readsC++
GAURAV YADAVgaurav246blogs.hashnode.dev·Dec 7, 2023151 DSA Problem journeyQ4:)Given an integer array, find a subarray that has the largest product, and return the product. The test cases are generated so that the answer will fit in a 32-bit integer. Example : Input: nums = [2,3,-2,4] Output: 6 Explanation: [2,3] has the la...Discuss·11 likesC++
Farhan Ishtiyakfarhanishtiyak.hashnode.dev·Jul 19, 2023Introducing "Codeforces" Series: Unleashing the Art of Competitive Programming!Greetings, fellow coding enthusiasts! I am thrilled to announce the launch of a brand new series here on Hashnode - "Codeforces"! 🚀 In this exciting journey, we will delve into the fascinating world of competitive programming, exploring a myriad of ...Discuss·1 likeCompetitive programming
Aditya Sahaiadityablogs.hashnode.dev·Jun 24, 2022Coding Culture In IndiaCOING CULTURE IN INDIA (HONEST) INTR0 A bit of preview, a lot of awareness has happened in the past 3-4 years about coding in India. Is it in a positive direction or a negative direction? Engineering Culture (CSE) Engineering is always about learning...Discuss·5 likes·50 readscoding
Taegu Kangktg0210.hashnode.dev·Nov 6, 2020powershell command (cp, list, rename, find, count)outline basic command for Windows Power Shell example List of files ending with txtGet-ChildItem *txt Save list of files ending with wav to wavlist.txt Get-ChildItem -filter *wav > wavlist.txt Change file name Change file name ending with txt t...Discusscp