Journal

2024

Windows Task Scheduler

1 minute read

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...

Azure DevOps: Azure-pipeline templates

6 minute read

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...

Azure Devops: CICD Setup

6 minute read

In this tutorial, we will explore how to create CICD pipeline on the Azure Devops environment.

How to consume API and review JavaScript

4 minute read

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 ...

SQL Review - Part 9

2 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

SQL Review - Part 8

1 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

SQL Review - Part 7

3 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

SQL Review - Part 6

1 minute read

In this post, we learn how to use SQL to work with JSON data inside the table.

Problem: Remove Duplicates from Sorted Array II

2 minute read

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 of The Day: Sort Colors

1 minute read

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 of The Day: Next Permutation

2 minute read

Problem Statement ``` A permutation of an array of integers is an arrangement of its members into a sequence or linear order.

Problem of The Day: Single Number

1 minute read

Problem Statement ``` Given a non-empty array of integers nums, every element appears twice except for one. Find that single one.

Problem of The Day: Rotate Array

2 minute read

Problem Statement ``` Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.

Daily Reading Exercise: Mindset

less than 1 minute read

Today Vocabulary valiant brave Valiant students always strive for success in their studies. pampered spoil The...

Problem of The Day: Merge Intervals

1 minute read

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 of The Day: 3Sum

2 minute read

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 of The Day: Move Zeroes

1 minute read

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.

Daily Reading Exercise: Mindset

3 minute read

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 of The Day: Minimum Window Substring

3 minute read

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...

SQL Review - Part 5

2 minute read

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 of The Day: Longest Common Subsequence

2 minute read

Problem Statement ``` Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.

Code Templates For Technical Interview

5 minute read

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...

Daily Reading: Mindset

2 minute read

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 of The Day: Sum of Subarray Minimums

4 minute read

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...

Daily Reading: Mindset

1 minute read

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 of The Day: LRU Cache

3 minute read

Problem Statement ``` Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.

Problem of The Day: Set Mismatch

2 minute read

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 of The Day: Two Sum

1 minute read

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 of The Day: Top K Frequent Elements

1 minute read

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 of The Day: Partition Labels

2 minute read

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 of The Day: Group Anagrams

1 minute read

Problem Statement ``` Given an array of strings strs, group the anagrams together. You can return the answer in any order.

Typescript Basic Learning

5 minute read

In this journal, I wanted to grasp a quick overview about the understanding of Typescript to support my Angular learning.

Problem of The Day: Jump Game

3 minute read

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 ...

Angular Learning - Day 2

2 minute read

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 of The Day: Jump Game II

2 minute read

Problem Statement ``` You are given a 0-indexed array of integers nums of length n. You are initially positioned at nums[0].

Problem of The Day: Number of Islands

2 minute read

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 of The Day: Course Schedule

3 minute read

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 ...

Angular Learning - Day 1

1 minute read

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 of The Day: Longest Common Subsequence

3 minute read

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 of The Day: Partition Equal Subset Sum

2 minute read

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 of The Day: Coin Change

6 minute read

Problem Statement ``` You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of...

Problem of The Day: House Robber

4 minute read

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 of The Day: Word Break

5 minute read

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...

Problem of The Day: Edit Distance

6 minute read

Problem Statement ``` Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2.

Cheatsheet: Flow Chart

less than 1 minute read

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...

SQL Review - Part 4

3 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

Problem of The Day: Path Sum III

6 minute read

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...

SQL Review - Part 3

3 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

SQL Review - Part 2

3 minute read

In this post, I continue the review of my knowledge about SQL. The materials are from the Leet Code SQL card

SQL Review - Part 1

3 minute read

In this post, I wanted to review my basic knowledge about SQL. The materials are from the Leet Code SQL card

Problem: Diameter of Binary Tree

1 minute read

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: Binary Tree Right Side View

2 minute read

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 of The Day: Assign Cookies

3 minute read

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 of The Day: Median of Two Sorted Arrays

6 minute read

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 of The Day: Symmetric Tree

1 minute read

Problem Statement ``` Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).

Back to top ↑

2023

Problem of The Day: Word Search

2 minute read

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 of The Day: Search Insert Position

1 minute read

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 of The Day: Palindrome Partitioning

1 minute read

Problem Statement This problem represents the final challenge within the Backtracking category among my Top 100 Liked problems. The objective is to generate ...

Problem of The Day: N-Queens

9 minute read

Today, I continued my exploration of the Top 100 Liked List on LeetCode, where I encountered another challenging problem related to the Backtracking topic - ...

Problem of The Day: Subsets

2 minute read

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...

Problem of The Day: Permutations

1 minute read

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...

Embracing Setbacks: Learning from Failure

1 minute read

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 ...

Problem of The Day: Combination Sum

5 minute read

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...

Stabilize the CodeTrack Project

3 minute read

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...

In-Depth questions for C#

10 minute read

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...

General C# Knowledge for interview preparation

2 minute read

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 ...

Object Oriented Programming interview questions

2 minute read

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...

Problem of The Day: Maximum Depth of Binary Tree

less than 1 minute read

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...

Back To Leetcode Grinding

2 minute read

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 ...

A Week Passed

2 minute read

Personal Project development Today, I dedicated my morning to advancing my CodeTrack project. The notable progress involved the addition of two essential but...

Progress Day

3 minute read

A Positive Start and Professional Development

Productive Day

5 minute read

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 Sunday Turns Coding Adventure

3 minute read

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 ...

My First Post

1 minute read

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...

Back to top ↑