Q: > You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer t
Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.Note that you must do this in
You are given an integer array nums consisting of n elements, and an integer k.Find a contiguous subarray whose length is equal to k that has the maxi