All Snippets
React Custom Hook for API
by: cs | 2 weeks, 3 days ago
🔹 Overview
React custom hooks help separate data fetching logic from UI components, keepin…
sorting in js
by: cs | 2 weeks, 5 days ago
Sorting means arranging elements in ascending or descending order.
We’ll implement a classic alg…
binary search js
by: cs | 2 weeks, 5 days ago
Binary Search is an efficient algorithm to find an element in a sorted array.
It works by repeatedly dividing the…
Hello World
by: cs | 2 weeks, 5 days ago
a simple “Hello, World!” program in Python