Here's a curated list of topological sort problems frequently asked by FAANG companies, organized by difficulty and problem pattern.
| // ==UserScript== | |
| // @name Redirect threads | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-05-22 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.threads.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=threads.com | |
| // @grant none | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name Claude.ai Navigation Bar | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Creates a navigation bar on the right side of Claude.ai that helps navigate through conversation messages | |
| // @author You | |
| // @match https://claude.ai/* | |
| // @grant GM_addStyle | |
| // ==/UserScript== |
Trong xã hội hiện đại, một dạng nghèo khó mới đang ngày càng phổ biến - không phải nghèo về vật chất mà là "nghèo tư duy". Hiện tượng này thể hiện qua việc thiếu khả năng suy nghĩ độc lập, phụ thuộc quá mức vào mạng xã hội và khuynh hướng chạy theo tâm lý đám đông. Đây là một vấn đề xã hội đáng quan tâm, có tác động sâu rộng đến cả cá nhân và cộng đồng.
"Nghèo tư duy" không đơn thuần là thiếu kiến thức, mà còn là sự thiếu hụt khả năng phân tích thông tin một cách phản biện, tư duy độc lập và áp dụng nguyên lý cơ bản (first principle thinking) trong quá trình nhận thức. Người bị "nghèo tư duy" thường:
- Khoán trắng suy nghĩ cho mạng xã hội: Tin tưởng mù quáng vào thông tin từ Facebook, TikTok mà không kiểm chứng
- Thiếu tư duy phản biện: Không đặt câu hỏi về độ tin cậy của nguồn thông tin
| function autoClickBlock() { | |
| const dialogBody = document.evaluate( | |
| `//*[contains(text(), "won't be able to find your profile")]`, | |
| document, | |
| null, | |
| XPathResult.FIRST_ORDERED_NODE_TYPE, | |
| null | |
| ).singleNodeValue; | |
| if (!dialogBody) { |
A simple JavaScript script that adds a floating "Archive" button to specific news websites, allowing quick archiving via archive.md.
As a non-Japanese speaker (reader), it's hard for me to know how to use SBI website sbisec.co.jp. Although there is Google Translate, it's not good in handling text in images (Safari can but it's not really good or fast).
Luckily, SBI website uses static images for buttons, therefore, we can replace the image button with text button.
Demonstrate:
To use this, you can use any extensions that can inject script and stylesheet into the page or create your own extension.
| import {LifecycleObserver, LifecycleOwner} from "./lifecycleowner"; | |
| interface Observer<T> { | |
| onChange(value: T): void; | |
| } | |
| class SimpleObserver<T> implements Observer<T> { | |
| constructor(private callback: (value: T) => void) { | |
| } |
| ░██████╗░██╗████████╗██╗░░██╗██╗░░░██╗██████╗░ ░█████╗░░█████╗░████████╗██╗░█████╗░███╗░░██╗░██████╗ | |
| ██╔════╝░██║╚══██╔══╝██║░░██║██║░░░██║██╔══██╗ ██╔══██╗██╔══██╗╚══██╔══╝██║██╔══██╗████╗░██║██╔════╝ | |
| ██║░░██╗░██║░░░██║░░░███████║██║░░░██║██████╦╝ ███████║██║░░╚═╝░░░██║░░░██║██║░░██║██╔██╗██║╚█████╗░ | |
| ██║░░╚██╗██║░░░██║░░░██╔══██║██║░░░██║██╔══██╗ ██╔══██║██║░░██╗░░░██║░░░██║██║░░██║██║╚████║░╚═══██╗ | |
| ╚██████╔╝██║░░░██║░░░██║░░██║╚██████╔╝██████╦╝ ██║░░██║╚█████╔╝░░░██║░░░██║╚█████╔╝██║░╚███║██████╔╝ | |
| ░╚═════╝░╚═╝░░░╚═╝░░░╚═╝░░╚═╝░╚═════╝░╚═════╝░ ╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░╚═╝░╚════╝░╚═╝░░╚══╝╚═════╝░ | |