Browsing Tag
leetcode
33 posts
840. Magic Squares In Grid
840. Magic Squares In Grid Medium Topics: Array, Hash Table, Math, Matrix A 3 x 3 magic square…
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.…