No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


1. Cibin Likes Networking
Prerequisites: Knowledge Of Star Topology
Difficulty: Very Easy
Solution Type: Simple Maths and Conditions
Star Topology

Alternatively referred to as a star network, star topology is one of the most common network setups. In this configuration, every node connects to a central network device, like a hub, switch, or computer.
For each test case, find the sum of wire length required and also find the number of repeaters required. Now, subtract these quantities from available ones given. If any of them comes out to be negative then print insufficient otherwise print sufficient.
C Solution:
C++ Solution:
Python Solution:
Java Solution:

2. Cibin is confused between IPv4 and IPv6
Prerequisites: None
Difficulty: Medium
Solution Type: String Operations and Regular Expression
For each test case, find out whether it contains a colon(:) or a dot(.). If none of them are present then print invalid. In case of dot check for the necessary conditions of Ipv4 address whereas in case of colon check for the necessary conditions of Ipv6 address. Also use of regular expressions can save your time.
C++ Solution:
Python Solution:
Java Solution:
Solution by Kaustubh Badrike

3. Installation of OS in New Computers
Prerequisites: Knowledge of Graph
Difficulty: Hard
Solution Type: Graph Coloring and Bipartite Check
For each test case, we have to maintain an adjacency list instead of adjacency matrix to ignore TLE. Now at each step we need to keep track of the visited vertices and also the vertices where the OS is installed. Now depending on that we need to install OS in surrounding vertices. After each iteration, we need to check for the contradictions. The process continues till at all the the vertices OS is installed. Here the vertices corresponds to the computers. It is an example of Bipartite Graphs where no two vertices should share same color.
C++ Solution:
Python Solution:
Java Solution:
Solution by Sanoop Menon