[EASY] The Major Element - CodeEval
[EASY] The Major Element – CodeEval
Here is the problem: https://www.codeeval.com/open_challenges/132/ And here is my solution. I get 100% with this code.
using System; using System.IO; using System.Linq; using System.Text; using System.Collections.Generic; class TheMajorElement { public static string line = null; static void Main(string[] args) { List readFile = ReadFileLines(args[0]); string result = FindMajorElement(readFile);…
View On WordPress












