Loading…

Worlds

Task on list copying

There is a unidirectional list of structures. In it, random points to some other element of the same list. You need to write a function that copies this list with saving the structure (in case the first node’s random pointed to the 4th in the old list, the new list should be the same –…

Bubble Sort, JavaScript

Hi there! Today, I want to start a series of articles about algorithms. Traditionally, we will begin laerning them with sorting one-dimensional arrays and even more traditionally – with bubble sort.   Bubble sort is also sometimes considered sinking sort.   Generally, the only advantage of this algorithm is that it is extremely simple to…

Gnome Sort, JavaScript

Initially, gnome sort was almost called stupid sort, but this awful name was assigned to another algorithm later. Nevertheless, gnome sort got quid’s worth as the author found out the name by analogy to the garden gnomes, rearranging the flower pots 🙂   The gnome sort algorithm is simultaneously similar to both insertion and bubble…

115 tasks from IT interviews

When a person is invited for a developer position, an employer tests the candidate for both the programming skills and logic tasks, IT cases and tasks on development for professional programmers. Most commonly, the list of these tasks is the same for many employers, so it means that we can get prepared for any interview. …

Isotope

Source link   In case you have not heard about Isotope earlier, then you have lost heavily as this plugin is really multifunctional. You will find blocks’ filtration, sort, and blocks’ place model. Let’s learn more about the way it works. Filtering The most interesting and useful function is probably filtration. It means you can…