You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of th…
My memo and playground
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of th…
Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in…
Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.…
Design a login feature using Twitter as an example The following design assumes that you’re not able to leverage database, so basically, you nee…
This is a series of notes that I summarized online lectures from a NTU (National Taiwan University) professor, Hung-Yi Lee. Link is here. The lectures…
Short summary from https://www.youtube.com/watch?v=wG8-IUtqu-s What’s GPT? GPT stands for Generative Pre-trained Transformer. GPT is a self-supe…
Managing tasks or integrating a third-party service reliant on webhooks can be a hassle. This is due to the necessity of setting up the service on you…
Due to specific development requirements, I’ve configured my machine with both WSL and VirtualBox running Ubuntu to accommodate different needs.…
Design recommendation module Each user likes a set of movies u1 = {m3, m5, m7, m11} u2 = {m1, m2, m3, m4, m5, m6, m7, m8, m9} Similarity(u1, u2) = 3 F…
Recently, I got a task that I have to work on it on my Ubuntu VM instead of WSL. I set up everything I have currently and try to run the project up, b…