Find an Online Tutor Now

12 Answered Questions for the topic Data Structures

Selection Sort - Java

Write a Java program to implement the selection sort algorithm in Java, input the following array and display the sorted on the screen. Write a function selectionsort(Arr,N), which sort the array... more

LinkedList Java

Imagine we have to create a Linked list with 5,8 as elements and at first before adding them head should pointed to null. And since 8 is the last element, next of 8 also should point to a null.How... more

04/11/20

AVL Trees - Java Data Structures & Algorithms

Can someone help with this AVL tree deletion?Delete 7,5,9 from the following AVL tree?AVL tree represented as an array(note that null denotes nodes with no values)9, 5, 12, 3, 6, 11, 14, 2, 4,... more

08/01/19

Text editor theory?

As I'm always dissatisfied with existing editors, a project I always wanted to start is my own text editor. However doing text editing is serious business.Besides analyzing the source code of... more

07/29/19

PHP: when to use arrays, and when to use objects for mostly-data-storing code constructs?

PHP is a mixed paradigm language, allowing to use and return non-object data types, such as arrays. I pose a question to try to clarify some guidelines for selection of arrays vs objects when... more

07/25/19

Anyone know anything about OLAP Internals?

I know a bit about database internals. I've actually implemented a small, simple relational database engine before, using ISAM structures on disk and BTree indexes and all that sort of thing. It... more

06/21/19

Can we implement a doubly-linked list using a single pointer?

I want to use a structure like: struct node { char[10] tag; struct node *next; }; I want to use the above structure to create a doubly-linked list. Is that possible and if yes, then how I can... more

05/27/19

How do I sort a list of dictionaries by a value of the dictionary?

I have a list of dictionaries and want each item to be sorted by a specific property values.Take into consideration the array below, [{'name':'Homer', 'age':39}, {'name':'Bart', 'age':10}]When... more

05/11/19

Difference between append vs. extend list methods in Python?

What's the difference between the list methods `append()` and `extend()`?

04/24/19

Assigning CSV values to structure?

I'm creating what should be a simple program but I'm having some difficulty assigning values from a file into a structure and it's variables. Visual Basic. Structure: Public Structure Teams ... more

03/29/19

Can we implement a doubly-linked list using a single pointer?

I want to use a structure like: struct node { char[10] tag; struct node *next; }; I want to use the above structure to create a doubly-linked list. Is that possible and if yes, then how I can... more

12/03/15

why only advanced users can make changes to data structures

only advanced users can make changes to data structures is the disadvantage of data structures. please provide the reason for that

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.