Category: code
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it …
You are given an array x of n positive numbers. You start at point (0,0) and moves x metres to the north, then x metres to the west, x …
This is classified as a hard puzzle: https://leetcode.com/problems/palindrome-pairs/ A palindrome string is a string whose reverse string is exactly the same, e.g. ABBA, 1, UIU… Brute Force Almost every …
Submit your solution: https://leetcode.com/problems/department-highest-salary/ As seen, two tables, you are asked to list the highest salary for each department and the employee name. However, if there are two or …
In this post, the C# version of Command Line Parameter Reader is given and you should see how easy to manipulate the strings in C#. The C++ version is …