Find a Middle of the Linked List – Geekfrisk
In the following article, we are going to check how to find the middle of the Linked List Given the head of a singly linked list, return the… Read More »Find a Middle of the Linked List – Geekfrisk
In the following article, we are going to check how to find the middle of the Linked List Given the head of a singly linked list, return the… Read More »Find a Middle of the Linked List – Geekfrisk
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… Read More »Max Consecutive Ones – C# Program
Find the length of the last word present in the sentence Step 1: Remove the extra spaces from the string Use inbuilt Trim() function to… Read More »Length of Last Word – C-Sharp Program