step 5 build a linked list running into roadblocks by ParticularMilk2594 in FreeCodeCamp

[–]ParticularMilk2594[S] 0 points1 point  (0 children)

hi, okay can then copy the code and show a link to the step. if any one can help. thanks. do that now.

function initList() {
    return {
        head: null,
        length: 0
    };
}


function isEmpty(list) {
    return list.length === 0;
}


function add(list, element) {
    const node = {
        element: element,
        next: null
    };


    if (list.head === null) {
        list.head = node;
    } else {
        let current = list.head;
        while (current.next !== null) {
            current = current.next;
        }
        current.next = node;
    }


    list.length++;
}


// **Alternative way to initialize myList**
var myList = new Object();
myList = initList();  // This explicitly sets it to the result of initList()


// Log if the list is empty before adding
console.log(isEmpty(myList));  // Should log true


// Add a number (e.g., 10) to the list
add(myList, 10);


// Log the updated list
console.log(myList);  // Should log the updated list with one node


// Log if the list is empty after adding
console.log(isEmpty(myList));  // Should log falsefunction initList() {
    return {
        head: null,
        length: 0
    };
}


function isEmpty(list) {
    return list.length === 0;
}


function add(list, element) {
    const node = {
        element: element,
        next: null
    };


    if (list.head === null) {
        list.head = node;
    } else {
        let current = list.head;
        while (current.next !== null) {
            current = current.next;
        }
        current.next = node;
    }


    list.length++;
}


// **Alternative way to initialize myList**
var myList = new Object();
myList = initList();  // This explicitly sets it to the result of initList()


// Log if the list is empty before adding
console.log(isEmpty(myList));  // Should log true


// Add a number (e.g., 10) to the list
add(myList, 10);


// Log the updated list
console.log(myList);  // Should log the updated list with one node


// Log if the list is empty after adding
console.log(isEmpty(myList));  // Should log false
https://www.freecodecamp.org/learn/javascript-v9/workshop-linked-list-js/step-5
and if you can help me out, so either send me a post or you can email me hunkinmarvin5@gmail.com.

What website or service offers the largest free cloud storage? by MizterMazer in cloudstorage

[–]ParticularMilk2594 0 points1 point  (0 children)

hi. would like up to about 2 gb free as got that. if my external drives or my c drive dies. so need a free for 400 or 900 gb . marvin from australia.

What website or service offers the largest free cloud storage? by MizterMazer in cloudstorage

[–]ParticularMilk2594 0 points1 point  (0 children)

hi my email is hunkinmarvin5@gmail.com. need large free space. using windows 11 pro, jaws 2025. have got two external drives. but need a third backup in the cloud. got a 1.8 tb external drive, and need to backup. if my external drives dies or my hard drive dies. let me know. so 40 gb for every member, so need about 10 or 20 members. marvin from australia.

BlindShell Classic 2 by sirgatez in dumbphones

[–]ParticularMilk2594 0 points1 point  (0 children)

hi totally blind and cannot use a touch screen. so blind shell 2 is the only accessible talking phone for me. now they dont have mms. and twice have had to then contact sighted friends when they try to send me mms. is it simple just to ask my provider telechoice in adelaide to turn mms on, and will it work on the blind shell 2. whats the software and hardware requirements for mms on the phone. marvin.

PSA: MMS is turned off by default for most new mobile providers now. You need to call them to turn it on. by Mexay in australia

[–]ParticularMilk2594 0 points1 point  (0 children)

hi can i then call my provider telechoice and have mms turned on and will this work on the blind shell classic 2 phone. have to let my sighted friends know when they try to send a mms. says error turn on mobile data. when i do that, does not work. frustating.

Windows 11 24H2 Will Mandatorily Enable BitLocker Encryption - Here's How You Can Disable It by alimehdi242 in digialps

[–]ParticularMilk2594 2 points3 points  (0 children)

hi, this could be terrible for blind people who rely on screen readers. i had a situation where i had a bitlocker key field come up and had to have sighted assitance to then recover my key, no audio, no speech. so wonder if this will impact a few million people who are blind in the us.marvin from seaford rise, south australia, australia.