python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do I read an input file line by line into multiple arrays of different types
As an example input file:
02-03-2004,13045634
03-02-2004,16782930
I'm having trouble coming up with code that can read in inputs into different arrays properly. My most recent attempt is this:
int i ...
Cezlock
Votes: 0
Answers: 2
How to dynamically add filters to an array based on user input in javascript
I want to have code that can add dynamic filters to an array and then the array run through a .filter that then checks if all the filters are true:
var checks = [item =>item.indexOf("e") ...
Philyshark7
Votes: 0
Answers: 1
Dynamic array inside a linked list in C
I'm writing this post after hours of madness and thinking. Probably this is the most stupid exercise you are gonna read today but for me, after hours of exercise, is not like that.
Going back to the q...
DottorBooom
Votes: 0
Answers: 1
Recursive function to add object into deeply nested array of objects adding into wrong object
I have the following object structure
layout: [
{
type: "FOLDER",
id: "folder0",
children: [
{
...
Joonas
Votes: 0
Answers: 1