Problem of The Day: Next Greater Element II
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Sometimes, we need to run daily task or schedule a process to run on a window server. This can be tedious and time consuming. So, it’s better to find a way t...
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Motivation
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
In the past, we explored how to create a simple CI/CD pipeline. Then, we went through the steps to create a CI/CD pipeline for multiple release sites. In thi...
Problem Statement
In this journal, we will take another step after setting up the CICD pipeline in previous Journal.
Problem Statement
Problem Statement
In this tutorial, we will explore how to create CICD pipeline on the Azure Devops environment.
Problem Statement
Problem Statement
Problem Statement
Introduction
Problem Statement
Problem Statement
Motivation
SOLID Principles Summary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Intuition
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Today’s Vocabulary
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem
Problem Statement
Problem
Problem Statement
Problem Statement
Problem
Problem Statement
Problem Statement
Update my reading list
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
How to add relationship in EFCore
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
The code is pushed to this GitHub repo.
Today’s Vocabulary
Problem Statement
AsNoTracking
Problem Statement
Problem Statement
My Person Mission Statement
Problem
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Problem
Problem Statement
Today’s Vocabulary
Problem Statement
What is Entity Framework Core (ORM)
Today’s Vocabulary
The code is pushed to this GitHub repo.
Problem Statement
The purpose of this journal is to review and practice how to make API calls in javascript via a simple REST API endpoints. This is the practice that I do in ...
Problem Statement
Problem Statement
Problem
Today’s Vocabulary
The Request Object
Problem
Today’s Vocabulary
Problem Statement
Problem Statement
Problem Statement
Today’s Vocabulary
Problem Statement
Today’s Vocabulary
Problem Statement
Problem Statement
Problem
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
Problem
Problem Statement
Problem
Problem
Problem
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
In this post, we learn how to use SQL to work with JSON data inside the table.
Problem
Problem
Problem Statement
Problem Statement ``` Given an integer array nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears at mo...
Problem Statement
Problem Statement ``` Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with...
Problem Statement ``` A permutation of an array of integers is an arrangement of its members into a sequence or linear order.
Problem Statement ``` Given an unsorted integer array nums, return the smallest missing positive integer.
Problem Statement ``` Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of h...
Problem Statement ``` Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive.
Problem Statement see problem
Problem Statement ``` Given a non-empty array of integers nums, every element appears twice except for one. Find that single one.
Problem Statement ``` Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.
Today Vocabulary valiant brave Valiant students always strive for success in their studies. pampered spoil The...
Problem Statement ``` Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums...
Problem Statement see problem
Problem Statement ``` Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overla...
Problem Statement ``` Given an integer array nums, find the subarray with the largest sum, and return its sum.
Problem Statement ``` Given an array nums of size n, return the majority element.
Problem Statement see problem
Problem Statement see problem
Problem Statement
Problem Statement ``` Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nu...
Problem Statement ``` Given an integer array nums, move all 0’s to the end of it while maintaining the relative order of the non-zero elements.
Problem Statement see Problem
Problem Statement
Problem Statement
Problem Statement see problem
Problem Statement
Problem Statement
Problem Statement
Problem Statement
My take on the reading Today, I delved further into Carol S. Dweck’s “Mindset” book, focusing on a chapter that resonated with me about the learnability of a...
Problem Statement see problem
Problem Statement ``` Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (i...
Tonight, I encountered a SQL question, and through this experience, I discovered the existence of the conditional function IF in SQL. This function allows pe...
Problem Statement see problem
Problem Statement see problem
Problem Statement see problem
Problem Statement see Rotate Image
Problem Statement ``` The DNA sequence is composed of a series of nucleotides abbreviated as ‘A’, ‘C’, ‘G’, and ‘T’.
Problem Statement ``` Given a string s, find the length of the longest substring without repeating characters.
Problem Statement ``` Given two strings s and p, return an array of all the start indices of p’s anagrams in s. You may return the answer in any order.
Problem Statement ``` Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.
In this journal, I aim to compile code templates as a foundational resource to ready myself for technical interviews. These templates are sourced from the Le...
Problem Statement see problem
Problem Statement see Pseudo-Palindromic Paths in a Binary Tree
Problem Statement ``` You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.
My Daily Reading Today, I learned about the truth of ability and accomplishment. It takes a significant amount of time and effort to develop one’s skills. Ma...
Problem Statement ``` Given an array of integers arr, find the sum of min(b), where b ranges over every (contiguous) subarray of arr. Since the answer may be...
My Daily Reading From tonight’s reading, I’ve learned that our mindset can affect how we see effort. In a fixed mindset, we might look down on people who spe...
Problem Statement ``` You are given an array of strings arr. A string s is formed by the concatenation of a subsequence of arr that has unique characters.
Problem Statement ``` Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.
Problem Statement ``` You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the numbe...
Problem Statement ``` You are given an array of strings words (0-indexed).
Problem Statement ``` Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If there is no...
Problem Statement see Swap Nodes in Pairs
Problem Statement see Sort List
Problem Statement see Remove Nth Node From End of List
Problem Statement see 234. Palindrome Linked List
Problem Statement ``` Given an n x n array of integers matrix, return the minimum sum of any falling path through matrix.
Problem Statement see Linked List Cycle
Problem Statement see Linked List Cycle II
Problem Statement see Intersection of Two Linked Lists
Problem Statement see Copy List with Random Pointer
Problem Statement see Add Two Numbers
Problem Statement
Today, I dedicated an hour to reading “Mindset: The New Psychology of Success” by Carol S. Dweck. In essence, the author elucidates the distinction between a...
Problem Statement ``` You are given the heads of two sorted linked lists list1 and list2.
Problem Statement ``` The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is...
Problem Statement ``` Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
Problem Statement ``` Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.
Problem Statement ``` Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
Problem Statement ``` You are given a string s. We want to partition the string into as many parts as possible so that each letter appears in at most one par...
Problem Statement ``` Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.
Problem Statement ``` Given an integer array nums and an integer k, return the kth largest element in the array.
Problem Statement ``` Given an array of strings strs, group the anagrams together. You can return the answer in any order.
Problem Statement 70. Climbing Stairs
Problem Statement ``` Given an array of integers arr, return true if the number of occurrences of each value in the array is unique or false otherwise.
In this journal, I wanted to grasp a quick overview about the understanding of Typescript to support my Angular learning.
Introduction
Problem Statement ``` You are given an integer array nums. You are initially positioned at the array’s first index, and each element in the array represents ...
Problem Statement ``` You are given an array prices where prices[i] is the price of a given stock on the ith day.
Installing Angular CLI This CLI requires nodejs, so we need to install the nodejs first before running following command. npm install -g @angular/cli --no-st...
Problem Statement ``` You are given a 0-indexed array of integers nums of length n. You are initially positioned at nums[0].
Problem Statement ``` You are given an m x n grid where each cell can have one of three values:
Problem Statement ``` Given an m x n 2D binary grid grid which represents a map of ‘1’s (land) and ‘0’s (water), return the number of islands.
Problem Statement ``` Implement the RandomizedSet class:
Problem Statement ``` There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where ...
In this journal, I outline what I have learned about Angular today. I am using this video from FreeCodeCamp as a guideline to help my learning about Angular.
Problem Statement ``` Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.
Problem Statement ``` You are given an integer array matches where matches[i] = [winneri, loseri] indicates that the player winneri defeated player loseri in...
Problem Statement ``` Given an integer array nums, return true if you can partition the array into two subsets such that the sum of the elements in both subs...
Problem Statement ``` Given an integer array nums, return the length of the longest strictly increasing subsequence.
Problem Statement
Problem Statement ``` Given an integer n, return the least number of perfect square numbers that sum to n.
Problem Statement ``` You are given two strings of the same length s and t. In one step you can choose any character of t and replace it with another charact...
Problem Statement ``` You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of...
Problem Statement ``` Given an integer array nums, find a subarray that has the largest product, and return the product.
Brute Force Problem Statement
Problem Statement ``` You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constra...
Problem Statement
Problem Statement ``` Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more...
See problem description here.
Problem Statement
Problem Statement ``` Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2.
Problem statement
Problem Statement
Problem Statement
Problem Statement ``` Given a string s, return the longest palindromic substring in s.
See Problem here.
Problem Statement ``` You are climbing a staircase. It takes n steps to reach the top.
In this journal, I’ve documented key insights gathered from the LeetCode platform, which has proven to be both fascinating and invaluable for my interview pr...
Problem Statement See problem here.
Problem Statement
Problem Statement ``` Given an integer array nums, return the number of all the arithmetic subsequences of nums.
Problem Statement
Problem Statement
Problem Statement
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
Problem Statement Intuition The problem requires finding the number of paths in a binary tree where the sum of node values along the path equals a given tar...
Problem Statement Intuition When approaching the problem of finding the length of the Longest Increasing Subsequence (LIS), my initial thoughts revolved aro...
Problem Statement Intuition My initial thought to solve this problem is to perform a recursive depth-first traversal of the binary tree. I want to flatten t...
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card
In this post, I wanted to review my basic knowledge about SQL. The materials are from the Leet Code SQL card
Problem Statement ``` You are given a 0-indexed array nums consisting of positive integers.
Problem Statement
Problem Statement Intuition The problem aims to find the diameter of a binary tree, which is the length of the longest path between any two nodes in a tree....
Problem Statement Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree.
Problem Statement Intuition The problem suggests finding the right side view of a binary tree, indicating a level-order traversal (BFS) approach. My initial...
Problem Statement ``` Anti-theft security devices are activated inside a bank. You are given a 0-indexed binary string array bank representing the floor plan...
Problem Statement ``` You are given an integer array nums. You need to create a 2D array from nums satisfying the following conditions:
Problem Statement ``` Given two integer arrays preorder and inorder where preorder is the preorder traversal of a binary tree and inorder is the inorder trav...
Problem Statement ``` Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie.
Problem Statement See link
Today, I tackled a challenging problem from the Top 100 Liked Problem List. It proved to be quite difficult, and despite my best efforts, I couldn’t arrive a...
Problem Statement See the link
Problem Statement ``` Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).
Problem Statement ``` Given the root of a binary tree, return the inorder traversal of its nodes’ values.
Problem Statement
Problem Statement
Problem Statement ``` Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
Today, my primary focus was on honing my skills in Binary Search, and I decided to tackle the problem known as “Search in Rotated Sorted Array.” Despite maki...
Problem Statement Here is the description for this problem.
Today, I tackled the Word Search problem within the backtrack section of the Top 100 Liked on LeetCode. After engaging with several backtrack problems, I gai...
Problem Statement In this post, I aim to delve into an important topic for preparing technical interviews – Binary Search. The crux of Binary Search lies in ...
Problem Statement This problem represents the final challenge within the Backtracking category among my Top 100 Liked problems. The objective is to generate ...
Today, I continued my exploration of the Top 100 Liked List on LeetCode, where I encountered another challenging problem related to the Backtracking topic - ...
Similar to the Permutations problem on my other post, this problem involved in the backtrack topic. The interesting thing about this problem is that there ar...
Tonight, I delved into the Top 100 Liked List, continuing my exploration of the Backtracking topic. The focal point of today’s study is a classic problem kno...
Facing the IBM Assessment Challenge Today marked another attempt at the IBM Frontend role coding assessment, and it didn’t go as expected. The complexity of ...
Today, I continue practicing solving Leet Code problems. I tackle the Top 100 Liked on the Backtracking topic again. Problem of The Day is called Combination...
Figure out how to set up Azure Key Vault Today, I dedicated the entire morning to configuring Azure Key Vault for my CodeTrack application, aiming to securel...
What are managed and unmanaged pieces of code? Managed and unmanaged code refer to how programming code is handled in terms of memory management and executio...
Today, I took on a more challenging problem within the realm of backtracking.
In this journal, I want to list the general questions about C# knowledge to prepare for technical interviews. Value types vs. reference types Value types ...
In this journal, I want to review and layout the common questions for OOP topic in an interview. What is object-oriented programming, and why is it beneficia...
Today, I tackled a straightforward LeetCode question. Despite being on the go, I’m committed to daily problem-solving and documenting my explanations for eff...
A Blueprint for Growth In this journal, I’m outlining my lifetime goals, covering both short-term and long-term aspirations. My goals have taken a backseat f...
Restarting the LeetCode Journey Today marks the beginning of my renewed commitment to daily LeetCode practice. I’ve set a goal to solve at least one problem ...
I’m crafting this post to highlight essential questions crucial for interview preparation.
Explain Object-Oriented Programming (OOP) and its principles.
Revised Plan Landing/Home Page on CodeTrack Deployment Project Testing Figure out how to use Azure Key Vault to keep secret Solve Leetcode problem
CodeTrack Development Progress
Personal Project development Today, I dedicated my morning to advancing my CodeTrack project. The notable progress involved the addition of two essential but...
A Positive Start and Professional Development
Facing Rejections and Demotivation
Morning Hustle: Giving It All for the Personal Project Today marked another chapter in the adventurous coding journey of mine! The day kicked off at a cool 1...
Lazy Morning Today felt like just another lazy Sunday, where my morning started fashionably late at 11 AM. Lazing around, I got sucked into the vortex of my ...
Meeting up with college friend Today’s tale is a rollercoaster of coding, coffee, and an unexpected reunion with the outside world. Buckle up, because we’re ...
Why am I writing? So, here I am, facing the blank digital canvas, wondering what wacky words will dance across the screen today. Frankly, I have no freaking ...
The next chapter My life after quitting Siemens as a Software Engineer since September 2023? Honestly, it’s a dumpster fire! Job hunting feels like navigatin...