On Wednesday, 16 August 2023 at 12:51:31 UTC, FeepingCreature
wrote:
On Tuesday, 15 August 2023 at 17:59:27 UTC, vino wrote:
[...]
```
import std;
void main() {
string[] args = [" test3", "test2 ", " test1 ", " test1 ",
" "];
findDuplicates(args);
}
void findDuplicates(string[]
On Tuesday, 15 August 2023 at 17:59:27 UTC, vino wrote:
Hi All,
Request your help in finding duplicate element without sorting
as per the below example
```
Example:
string[] args = [" test3", "test2 ", " test1 ", " test1 ", " "];
Output Required:
If duplicate element found then print
On Tuesday, 15 August 2023 at 17:59:27 UTC, vino wrote:
Hi All,
Request your help in finding duplicate element without sorting
as per the below example
```
Example:
string[] args = [" test3", "test2 ", " test1 ", " test1 ", " "];
Output Required:
If duplicate element found then print
On Tuesday, 15 August 2023 at 17:59:27 UTC, vino wrote:
Request your help in finding duplicate element without sorting
as per the below example
```d
module remove_duplicates;
import std.stdio;
import std.format : format;
import std.string : strip;
int main (string [] args)
{
bool [string]
Hi All,
Request your help in finding duplicate element without sorting
as per the below example
```
Example:
string[] args = [" test3", "test2 ", " test1 ", " test1 ", " "];
Output Required:
If duplicate element found then print "Duplicate element found:
"
else print ["test3", "test2",