Given an integer array `nums`

sorted in **non-decreasing** order, return *an array of **the squares of each number** sorted in non-decreasing order*.

**Example 1:**

**Input:** nums = [-4,-1,0,3,10]

**Output:** [0,1,9,16,100]

**Explanation:** After squaring, the array becomes [16,1,0,9,100].

After sorting, it becomes [0,1,9,16,100].

**Example 2:**

**Input:** nums = [-7,-3,2,3,11]

**Output:** [4,9,9,49,121]

**Solution**

**First step:** first learn about “squared number” then start coding.

Square number = is the result when a number has been multiplied by itself**Example:**3 Squared= 3 × 3 =

Note: you can also square

negative numbers ((−5) × (−5) =25),When we square a…

There is a large pile of socks that must be paired by color. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are.

**Example**

There is one pair of color and one of color . There are three odd socks left, one of each color. The number of pairs is.

**Function Description**

Complete the sockMerchant function in the editor below.

sockMerchant has the following parameter(s):

- int n: the number of socks in the pile
- int ar[n]: the colors of each sock

**Returns**

- int: the number of pairs

**Input…**

This is a Leetcode Data Structure / Algorithm problem, to solve this problem you need to understand what an even number is.

Even Number:is a number that is divisible by two with no remainders left

**Problem**

Given an array `nums`

of integers, return how many of them contain an **even number** of digits.

**Example 1:**

**Input:** nums = [12,345,2,6,7896]

**Output:** 2

**Explanation: **

12 contains 2 digits (even number of digits).

345 contains 3 digits (odd number of digits).

2 contains 1 digit (odd number of digits).

6 contains 1 digit (odd number of digits).

7896 contains 4 digits (even number of…

I am currently learning Data structure and Algorithms deeper in kotlin and I decided to start with Leetcode.

The problem

Given a binary array `nums`

, return *the maximum number of consecutive *`1`

*'s in the array*.

**Example 1:**

**Input:** nums = [1,1,0,1,1,1]

**Output:** 3

**Explanation:** The first two digits or the last three digits are consecutive 1s. The maximum number of consecutive 1s. The maximum number of consecutive 1s is 3.

**Solution:**

The first step is to understand the problem and think of the best possible way to solve it. …

Documentation is an important aspect of software development, design, and other aspects of tech. All codebase requires some form of documentation. From a simple README to full documentation.

It becomes necessary to use a nice & scalable system to generate, maintain, and deploy the documentation in some projects. That’s where *“Static Documentation Generators”* come in handy. They are easy to use, versatile, and extremely user-friendly. They are mostly used to document APIs, database schemas, and other information by organizations.

**Static Site Generator**

A static site generator is a tool that generates a full static HTML website based on raw data…

**Possible Problem**

This usually happens if you have a draft release for some reason, you will have to delete it first. Obviously no clue about it from the UI, you need to guess it.

Click on the “Releases” tab, it will show you the draft release and you can delete it from there by clicking on the “**Discard**” button

Most Android developers using Android emulators on average it consumes 2 GB of ..RAM so if possible use an actual Android device these will reduce your resource load on your computer, or use an Android emulator online like https://appetize.io/

Running your Android apps on your 2Gb or 4Gb Ram Computer using an Emulator is a disaster waiting to happen 😩😭.

The good news🥳🥳🥳🥳🥳😍 is you can run your Android/IOS Apps online easily on your web browser, which means you don’t have to overheat your PC with a physical emulator.

**Steps on how to run your Android/IOS Apps on your browser**

We have all wished we know the count of people that have visited our blog, social media profiles (Twitter, LinkedIn, Facebook) but not all have such features. As a developer that has a GitHub account, knowing the number of persons that visit your profile should be one of your wishes, especially for those that are applying for so many jobs 😉😉😉😉.

In this short article, you will learn how to add a “visitor’s counter” to your GitHub profile. you can add a counter to your GitHub profile with the following line of Markdown

`![Visitor Count](https://profile-counter.glitch.me/{YOUR USER}/count.svg)`

you can also check out my Github profile: github profile

Thank you for reading my article.

Let’s connect on

Twitter: https://twitter.com/Joklinztech

LinkedIn: https://www.linkedin.com/in/wisdom-nwokocha-76212a77/

Firebase In-App Messaging helps you engage your app’s active users by sending them targeted, contextual messages that encourage them to use key app features. For example, you could send an in-app message to get users to subscribe, watch a video, complete a level, or buy an item. You can customize messages as cards, banners, modals, or images, and set up triggers so that they appear exactly when they’d benefit your users most.

In this article, you will learn how to create an In-App Updater using a card that will notify your users to update their app and give them a…

In this short article, I will explain how I solved a bug that looked like it will not go off 😂😂😂😂😂.

I was very happy trying out Flutter because it is easy and fast to build a huge app with less stress, but as we all know bugs are always around to give us a hard time. In my design, I have a Bottom NavBar(4 navbars) with Three FAB(Floating Action Button) on each screen. I never knew that Flutter has an Attribute called “heroTag” and it must be unique. …

A software engineer with considerable experience in mobile development, native Android, and IOS development(Xcode), flutter dev, technical writing and community