Practice coding exercises, quizzes, and tutorials that make learning fun and effective.
Start Practicing# Guess the output def add_item(x, lst=[]): lst.append(x) lst.append(len(lst)) return lst print(add_item(1)) print(add_item(2))
# Find factorial def factorial(n): return 1 if n <= 1 else n * factorial(n-1) print(factorial(5))
# Check if word is a palindrome def is_palindrome(s): return s == s[::-1] print(is_palindrome("level"))
OJ Solutions | Aug. 19, 2025, 5:38 p.m.
Problem Overview The HackerRank Roads and Libraries problem is a classic graph problem where we need to build libraries and/or repair roads in a city to ensure that every citizen...
Read More Read more about HackerRank Roads and Libraries Problem Solution in C++ | DFS Approach ExplainedOJ Solutions | Aug. 14, 2025, 5:46 p.m.
Problem Overview LeetCode 185: Department Top Three Salaries asks us to find the employees who earn one of the top three highest distinct salaries in each department. We are given...
Read More Read more about LeetCode 185 Department Top Three Salaries Solution β SQL Query ExplainedOJ Solutions | Aug. 19, 2025, 4:33 p.m.
Problem Overview The HackerRank Even Tree problem is a classic graph and tree problem that asks us to maximize the number of edges we can remove from a tree while...
Read More Read more about Even Tree HackerRank Problem Solution in C++ with Step-by-Step ExplanationOJ Solutions | Aug. 14, 2025, 6:15 p.m.
Problem Overview In LeetCode 3163: String Compression III, we are asked to compress a string by replacing consecutive repeated characters with a count followed by the character. One important detail...
Read More Read more about LeetCode 3163 String Compression III Solution β C++ Implementation and ExplanationOJ Solutions | Aug. 16, 2025, 5:23 p.m.
Problem Overview In LeetCode 172: Factorial Trailing Zeroes, we are asked to find the number of trailing zeros in a factorial of a given number n. This problem is a...
Read More Read more about LeetCode 172 Factorial Trailing Zeroes Solution β C++ Implementation and ExplanationOJ Solutions | Aug. 19, 2025, 5:38 p.m.
Problem Overview The HackerRank Roads and Libraries problem is a classic graph problem where we need to build libraries and/or repair roads in a city to ensure that every citizen...
Read More Read more about HackerRank Roads and Libraries Problem Solution in C++ | DFS Approach ExplainedOJ Solutions | Aug. 19, 2025, 4:33 p.m.
Problem Overview The HackerRank Even Tree problem is a classic graph and tree problem that asks us to maximize the number of edges we can remove from a tree while...
Read More Read more about Even Tree HackerRank Problem Solution in C++ with Step-by-Step ExplanationOJ Solutions | Aug. 16, 2025, 5:23 p.m.
Problem Overview In LeetCode 172: Factorial Trailing Zeroes, we are asked to find the number of trailing zeros in a factorial of a given number n. This problem is a...
Read More Read more about LeetCode 172 Factorial Trailing Zeroes Solution β C++ Implementation and ExplanationOJ Solutions | Aug. 14, 2025, 6:15 p.m.
Problem Overview In LeetCode 3163: String Compression III, we are asked to compress a string by replacing consecutive repeated characters with a count followed by the character. One important detail...
Read More Read more about LeetCode 3163 String Compression III Solution β C++ Implementation and ExplanationOJ Solutions | Aug. 14, 2025, 5:46 p.m.
Problem Overview LeetCode 185: Department Top Three Salaries asks us to find the employees who earn one of the top three highest distinct salaries in each department. We are given...
Read More Read more about LeetCode 185 Department Top Three Salaries Solution β SQL Query ExplainedWe built Solviyo for anyone who loves coding β whether youβre just starting out, already writing production code, or somewhere in between. Our goal is simple: to provide a hands-on coding platform where learning turns into real practice.
This isnβt just another programming blog. Itβs a space built for hands-on learning, where each click takes you closer to being a better programmer.
At Solviyo, weβre focused on helping you grow your coding skills through practical, hands-on learning. Whether youβre new or experienced, hereβs what you can do:
Solviyo is more than a blog β itβs a platform designed for active learning, where you practice, explore, and grow as a developer with every step.
Explore hands-on exercises, challenge yourself with quizzes, and dive into expert tutorials. Every step on Solviyo brings you closer to becoming a confident, professional developer.