Problem 7823. Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 17 Aug 2020
It is a good problem but needs more test cases. People may derive the wrong formula by looking just at the test suite.
Solution Comments
Show commentsProblem Recent Solvers95
Suggested Problems
-
Swap the first and last columns
21889 Solvers
-
Return a list sorted by number of occurrences
2839 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
862 Solvers
-
704 Solvers
-
Replace every 3rd element in a vector with 4
258 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!