Please open Telegram to view this post
VIEW IN TELEGRAM
LeetCode
Two Sum - LeetCode
Two Sum - Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return…
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return…
⚡1👍1
tg_image_217301420.jpeg
121.2 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2👍1
Please open Telegram to view this post
VIEW IN TELEGRAM
LeetCode
Merge Sorted Array - LeetCode
Can you solve this real interview question? Merge Sorted Array - You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively.
Merge nums1…
Merge nums1…
⚡1👍1
tg_image_1132433497.jpeg
161.3 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
Please open Telegram to view this post
VIEW IN TELEGRAM
LeetCode
Middle of the Linked List - LeetCode
Can you solve this real interview question? Middle of the Linked List - Given the head of a singly linked list, return the middle node of the linked list.
If there are two middle nodes, return the second middle node.
Example 1:
[https://assets.leet…
If there are two middle nodes, return the second middle node.
Example 1:
[https://assets.leet…
tg_image_694412014.jpeg
152 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡1
tg_image_4098302883.jpeg
178.3 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
tg_image_4045841909.jpeg
107.6 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
LeetCode
Odd Even Linked List - LeetCode
Can you solve this real interview question? Odd Even Linked List - Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list.
The first node is considered…
The first node is considered…
👍3
tg_image_177718244.jpeg
256.5 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
tg_image_687916937.jpeg
141 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
tg_image_3125849133.jpeg
180.2 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1