Examness

Advanced C#

2 अभ्यास · सिखाने के क्रम में

  1. 1Palindrome, punctuation ignoredWrite `static bool IsPalindrome(string s)` - true when the letters and digits read the same both ways, ignoring case and everything else. "A man, a plan, a canal: Panama" is true.char predicatestwo pointers12m
  2. 2Longest group of same-length wordsWrite `static int BiggestGroup(List<string> words)` - group the words by their length and return the size of the largest group. An empty list returns 0.GroupByOrderByaggregation12m