CommonLounge is a community of learners who learn together. Get started with the featured resources above, ask questions and discuss related stuff with everyone.
NaN.
discussion
HackerRank Week Of Code 31: Spanning Tree Fraction
Problem in short: Consider an undirected graph of N nodes, M edges. Each edge is labeled with two integers A, B. Find a spanning tree of this graph which has the maximum possible value for the following expression:
Given a tree consisting of N nodes (<= 10^5). Assign a letter ('A'-'Z') to each node. For any 2 distinct nodes having the same letter, the path between them must contain at least one node assigned a smaller letter (A being the smallest letter).
Print a valid assignment or state that it's impossible.
Organic CBD tincture is becoming more popular with a lot of people in the medical marijuana scene. This is mainly due to many people becoming aware of the medicinal properties of cannabis and its effect on our health. It is often said that cannabis can help ease depression, insomnia, chronic pain, nausea, appetite loss, stress, anxiety, muscle spasms, insomnia, and appetite enhancement. However, the effects of this cannabis are not as widely known because the government has been holding back its release.
Organic CBD tincture contains a variety of different types of botanicals. The most commonly used botanical is EGCG or epigallocatechin gallate which is a very potent antioxidant. The antioxidants found in organic CBD tincture will also help reduce inflammation of the body. You may go to GoldBee.com to search for some good products.
A lot of the benefits of CBD tincture also includes ...
Hey there! I’m Sumeet Varma. I am extremely interested in Algorithms and Data Structures and so I do a lot of competitive programming. I am also a big fan of Counter-Strike, Politics and reading random answers on Quora.
My team (FruitSalad) came 1st in ACM ICPC ‘17 Kharagpur Regionals, 2nd in Kolkata Regionals and 7th in India Finals and we have qualified for World Finals. Also, I have been Red on Codeforces and the highest rated Indian programmer on Codeforces, Hackerrank and Topcoder in the past.
Currently, I am doing an internship at Directi (Bangalore) as a part of my project for final semester at DA-IICT, Gandhinagar.
Ask me anything!
Moderator note: We are very excited to host Sumeet for a Q&A session! He has a max rating of 2515 on Codeforces and 2173 on TopCoder, and you can see the graph going up consistently over the last 2.5 years. It's time to find out more about the person behind ...
My name is Amr Mahmoud. I'm currently studying Computer and Systems Engineering at Alexandria University. I was on the team that got the first place in Egypt National CPC, also the first place in Arab Regional CPC, and qualified to last year's ICPC in Phuket. I had an internship in Microsoft R&D lab. I'm currently doing an internship in Amazon web services.
ICPC requires identifying one's weak points and how to overcome that as a team.
Our problems span over multiple diverse topics and hence will help teams to coordinate better.
There is never enough practice for ICPC.
Our series is aimed to making teams prepared for the ICPC season by providing editorials for the problems as well. This will help teams to upsolve the problems and learn some new concepts.
PS: This challenge is not endorsed by ACM, and is no...
Underground, is a hybrid that combines Ed Rosenthal Super Bud with NYC Diesel.The rich Kush flavor of pine mixes with cbd oil sweet undertones that give way to Pine Tar Kushs calming yet talka...