3 views
24 Jan 2026
Given an integer n, print YES if it is a power of 2, else print NO. Use bit logic, not loops....
3 views
24 Jan 2026
Given an expression with + - * / and non-negative integers, compute the result using correct precedence (* and / first). Integer division should floor....
5 views
24 Jan 2026
Two very large non-negative integers are given as strings. Add them and print the sum as string....