Count Vowels

Easy
5 views 24 Jan 2026
Given a string, count how many vowels are there (a,e,i,o,u) ignoring case. Print the count....

Memoize One-Argument Function

Medium
5 views 24 Jan 2026
Input has a list of queries for a slow function f(x)=x*x+1. For repeated x, do not recompute; use memoization and print outputs for each query....

Curry Add

Medium
7 views 24 Jan 2026
Create a function add(a)(b)(c) that returns a+b+c. For input a b c, print the result using currying....

Async Compose Pipeline

Hard
5 views 24 Jan 2026
You are given n numbers. For each number x, apply async steps: add 1, then multiply by 2, then subtract 3 (each step is awaited). Print final numbers....