256 Kilobytes

All Content > Array

Type All Category All Tag Array

Profile Photo - Some Guy

How to remove duplicates from sorted array?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Default

Last ReplyYou can use Set. var arr = [1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 10, 10, 11, 12, 13, 13, 13, 14, 15, 15, 16, 17, 18] arr = [...new Set(...[arr])]... Ali,

You can use Set.

Tue, 28 May 2019 23:48:26 -07002 years ago1
🗨 2
🐏 0
👁 533
Profile Photo - Some Guy

How do I solve "Cannot use object of type stdclass as array"?

Answers in Server-Side | By Some Guy

Published

Profile Photo - Univa

Last ReplyWhen we use json_decode();, we get an object of type stdClass as return type.  1. Cast the object to array. This can be achieved as follows.... Univa,

When we use json_decode()...

Wed, 08 May 2019 08:38:04 -07002 years ago1
🗨 1
🐏 0
👁 554
Profile Photo - Some Guy
Profile Photo - w3nsi012

Last ReplyDuring installation, browse and select the appropriate driver for your RAID controller when asked to where you want to install windows. w3nsi012,

During installation, brow...

Sat, 30 Mar 2019 14:23:32 -07002 years ago1
🗨 1
🐏 0
👁 346
Profile Photo - Some Guy

How to remove element from array in Java?

Answers in Software Development | By Some Guy

Published

Profile Photo - Some Guy

I've been trying to learn Java in t...

MoreI've been trying to learn Java in the last few weeks, and I'm still super new, so this question might be over simple. But how do you remove...
🗨 0
🐏 0
👁 478
Profile Photo - Some Guy

Handling Java Array Index Out of Bounds Exception?

Answers in Software Development | By Some Guy

Published

Profile Photo - Some Guy

I just recently started trying to progra...

MoreI just recently started trying to program in Java, so bear with me if this question seems a bit basic. I keep getting a Java Array Index Out of Bounds...
🗨 0
🐏 0
👁 567
Profile Photo - Some Guy

How do you fix "Assignment to expression with array type"?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Some Guy

I'm getting a message of "Assi...

MoreI'm getting a message of "Assignment to expression with array type" and I need to resolve this ASAP. Is there something that I can do t...
🗨 0
🐏 0
👁 351
Profile Photo - Some Guy
Profile Photo - Some Guy

During my python lesson today i received...

MoreDuring my python lesson today i received an error message saying "valueerror: settting an array element with a sequence" what exactly does t...
🗨 0
🐏 0
👁 309