Loading…

Implement an algorithm to print all valid

Given an input file with four billion non-negative integers

You have 20 bottles of pills

Write a function that adds two numbers

A magic index in an array A[1… n-1]

A magic index in an array A[1… n-1]

Implement an algorithm to determine

There’s a staircase

You have to get from point A to point B

Given a list of millions of words, design an algorithm

Design an evacuation plan of San Francisco residents

The task of the cashier-developer

Create a lock class to prevent deadlock

Create a method that counts a number

The Probability of Meeting a Car on a Deserted Highway

Finding the maximum of two numbers

The task of calendar gaps merging

The task of calendar gaps merging

The task of the ball with helium in the car

The task of Apple shares

In the darkroom, you are handed a deck of cards.

How far can you deliver cargo using N trucks?

In what situation you will get less wet getting to the car

You are given three boxes

You are given three boxes

You are given three boxes and you need to define which one contains the prize

Task on list copying

Task on list copying

115 tasks from IT interviews

Books for Java beginners

How did I extensively simplify the interaction with Raspberry Pi?

Artificial intelligence is not what it seems.

Ada Lovelace

Want to know everything. Solidity

Books about programming: how and what to read

11 applications to learn programming on mobile devices

Top 10 TV series for IT geeks

Software development methodologies

Ada Lovelace – the first developer in the world

9 reasons to change Windows 10 for Linux

25 most popular myths about programming and developers

Top 10 films and TV series on IT topics

Finding the maximum of two numbers

  The most widespread option of max function implementation is to check the operator of the a-b expression. In this case, we cannot use comparisons operators, but we can use the multiplication operator.   Note The task’s essence is to make everything without switch instructions at the processor level instead of hiding the comparison or…

The task of calendar gaps merging

    Let’s suppose you are working in a company and it is developing an electronic calendar. The calendar has a function that shows when various programming teams will be busy at a meeting.   Those periods when the team is busy are marked on the calendar as time ranges, for example, from 10:00 to…

The task of calendar gaps merging

    Let’s suppose you are working in a company and it is developing an electronic calendar. The calendar has a function that shows when various programming teams will be busy at a meeting.   Those periods when the team is busy are marked on the calendar as time ranges, for example, from 10:00 to…

The task of the ball with helium in the car

    Imagine that you are in a car where a balloon filled with helium is tied to the floor. The windows are closed. You push the gas pedal. What happens to the ball: will it move forward, backwards or will it remain in the same position?   What happens to the ball?   Move…

The task of Apple shares

This task was given to candidates during the interviews at Apple. You need to create a function that returns that maximum profit from a single deal with one share (firstly purchase, then sale). The input data is an array of yesterday quotations with Apple shares’ prices.    Here is the info about the array:  …