Sign in to Solve coding problems in CodingLab.

Sign in


Find Kth smallest element in a subarray

You are given an Array of size N and your task is to find the Kth smallest element in a subarray of given range i to r (both inclusive) There …

Try it


Level: Medium | Uploaded in Data Structures on Nov. 9, 2019


arrow_upward Upvote

comment Comment

arrow_downward downvote


Withdraw money from ATM

Alice would like to withdraw X $US from an ATM. The cash machine will only accept the transaction if X is a multiple of 5, and Alice's account balance …

Try it


Level: Easy | Uploaded in Interview on Oct. 21, 2019


arrow_upward Upvote

comment Comment

arrow_downward downvote


How many squares can come in a triangle

Suppose, you are given an isosceles tirangle with base B now your task in this problem is to firgure out how many 2×2 squares can come into it such that …


Try it


Level: Easy | Uploaded in Interview on Dec. 5, 2018


arrow_upward Upvote

comment Comment

arrow_downward downvote


Multiply matrices

You are given two matrices. Let's call them a and b. Write a program to print multiplication of both of these matrices.

Try it


Level: Easy | Uploaded in Interview on Nov. 29, 2018


arrow_upward Upvote

comment Comment

arrow_downward downvote


Print Hello world

Write a program to print 'Hello world'.

Try it


Level: Easy | Uploaded in Interview on Nov. 27, 2018


arrow_upward Upvote

comment Comment

arrow_downward downvote

HackersFriend Updates


update Aug. 15, 2019, 1:47 p.m.

Full view page of article has been changed to match style of homepage feed. open_in_new


update Aug. 14, 2019, 12:52 a.m.

Total number posts on homepage is incresed to 10 by default and text-decoration of link to post and author is changed. open_in_new


update Aug. 7, 2019, 1:51 a.m.

We changed our homepage. Now, you can see newly published articles, directly on home page. open_in_new


View more





Labs


Interview

Interview

Enter
Mathematics

Mathematics

Enter
Algorithm

Algorithm

Enter
Data Structures

Data Structures

Enter