i'm use data structure to store JSON data Class node Friend ReadOnly position As Integer Friend ReadOnly position_Array As Integer Pub
I am learning C from scratch with Harvard's cs50 course. I've been given an array that's been initialized this way: int stuff[9][9]; now I have to handle it. I
I have this sample data and I wanted to filter it where the colors are less than 20 or equal to 20: const data = [ { name: "Item1", colors: { green: 8 } },
Hi I'm trying to write a code for singly linked list that reorders the nodes so that: L1->L2->L3->...->Ln to L1->Ln->L2->Ln-1->L3-&g
I have a json array in the following format [{"key1":"abc", "key2": "def", "key3": "ghi"}, {"key1":"abc", "key2": "jkl", "key3": "mno"}, ...]. There's also a ta
I have a basic understanding of usage of nodes, like node = node.next, and self.head, and things like node.next = self.head self.head = new_no
I need to implement a function to simplify the path of a directory for example "/home//foo/" need to be "/home/foo", i need to delete all the duplicate slashes
In this question we have given 3 strings and we nee dto count possible number of ways to create string r using string p and q
I have a following data structure: Page0 Key0 Text Color Name Key1 Text Color Name Page1 Key0
I have these objects, which could be in an array, like in the example or a database: [ { "payer": "DANNON", "points": 1000, "timestamp": "2020-11-02T14:00:0
I am new to programming, so I started working on a small guessing game for n players In theory they are supposed to take turns trying to guess some String, I've
I want to be able to organize data for efficiency and constantly update the order of that data based on frequency of access, relevancy, and accuracy. For exampl
I am reading Chapter 7 of Data Structures and Algorithms in Python and I am finding the Positional List ADT quite hard to understand, the implementation given b
I'm coding at C# and I'm trying to make an OOP representation of a list of topics. I tried countless approaches but I still not being able to reach the desired
For this pseudocode, what would be big O of this: BinarySum(A, i, n) { if n=1 then return A[i] // base case return BinarySum(A, i, n/2) + Binar
I have 130,000 records of strings. I want to find the number of occurance of each string element in those 130,000 records by doing the regex search for each rec
Hi guys I'm working on the longest subsequence algorithm, the idea is to find the subsequence of numbers from an array. I'm using Ruby, so far I'm missing the l
I want to categorize data to search for content that can be tagged. However I want a tag to have relationship with other tag too and so it could be searched for
I have a HashMap structured like {a=[test], b=[test, test2]} I want to compare entry values (test, test2) with each other and if any entry ha
I am getting some random result. I have gone through the flow and did dry run several time but can't figure out exactly what's wrong with the code. flow of prog