Skip to content

Instantly share code, notes, and snippets.

View cnydo's full-sized avatar
🏠
Working from home

An Thành Long cnydo

🏠
Working from home
  • FPT University
  • 04:53 (UTC +07:00)
View GitHub Profile
@schacon
schacon / better-git-branch.sh
Created January 13, 2024 18:41
Better Git Branch output
#!/bin/bash
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NO_COLOR='\033[0m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'
NO_COLOR='\033[0m'
@LWu93
LWu93 / mergeTwoLinkedLists.md
Last active January 11, 2022 07:39
Merge Two Linked Lists

Merge Two Linked Lists

Interviewer Prompt

Write a function that takes in the heads of two Singly Linked Lists that are in sorted order. The function should merge the lists in place (i.e., it shouldn't create a brand new list) and return the head of the merged list in sorted order.

Each LinkedList node has an integer value as well as a next, pointing to the next node in the list or to null if it's the tail of the list.

LinkedList Node

@TechFounder
TechFounder / style.css
Created June 27, 2016 03:05
Buddha bless your code to be bug free
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \