Browsing Tag
leetcode
22 posts
2486. Append Characters to String to Make Subsequence
2486. Append Characters to String to Make Subsequence Medium You are given two strings s and t consisting…
17. Letter Combinations of a Phone Number
17. Letter Combinations of a Phone Number Medium Given a string containing digits from 2-9 inclusive, return all…
Path Sum | LeetCode | Java
According to the problem we have to find the sum from every root-to-leaf path and check whether it…
Check if the Sentence Is Pangram | LeetCode | Java
In this article, we will focus on 3 different approaches to solve the problem. Approach 1 : Using…
Leetcode Solution: #206: Reverse Linked List ๐ฌ
Question Type: Medium ๐๏ธ Complexities: Time: O(n), Space: O(n) ๐ฉ Code: ๐ class Solution { public: ListNode* reverseList(ListNode*…
Leetcode Solution: #1669 Merge In Between Linked Lists ๐
Question Type: Medium ๐๏ธ Complexities: Time: O(n), Space: O(1) ๐ฉ Code: ๐ class Solution { public: ListNode* mergeInBetween(ListNode*…
My Story of Leetcode Biweekly Contest 117
Hi Everyone โ๐ป. Abhishek this side! Today, 11 November 2023, was Leetcode Biweekly Contest #117. This contest was…
Finding the largest value in each tree row
Recently, a friend sent me an intriguing challenge: finding the largest value in each row of a binary…
Cracking the LeetCode 905. Sort Array By Parity By Nilesh
LeetCode .905 Sort Array By Parity : Hey there, coding enthusiasts! Welcome back to another exciting coding session.…
DAY 89 – Kadane’s Algorithm
Hey Folks!. Welcome to day 89 of 100DaysOfCode Challenge. We shall be covering the kadane’s algorithm today. Question:…