Skip to content

Collecting of various coding problems and tasks from different sources. Most of them are not fixed to particular technology and considered as entry level for developers who want to start their career in tech companies.

License

Notifications You must be signed in to change notification settings

bunyodkh/coding-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Coding tasks

I am collecting here varous coding problems and tasks from different sources. Most of them are not fixed to particular technology and considered as entry level for developers who want to start their career in tech companies.


Tasks

  1. On election day, a voting machine writes data in the form (voter_id, candidate_id) to a text file. Write a program that reads this file as a stream and returns the top 3 candidates at any given time. If you find a voter voting more than once, report this as fraud.

  2. Given a sorted list of integers, square the elements and give the output in sorted order. For example, given [-9, -2, 0, 2, 3], return [0, 4, 4, 9, 81].

  3. Given an array of numbers and a number k, determine if there are three entries in the array which add up to the specified number k. For example, given [20, 303, 3, 4, 25] and k = 49, return true as 20 + 4 + 25 = 49.

About

Collecting of various coding problems and tasks from different sources. Most of them are not fixed to particular technology and considered as entry level for developers who want to start their career in tech companies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published