Skip to content

task for the new generation of CATReloaded to get accepted in the team

Notifications You must be signed in to change notification settings

CATReloaded/recruitment-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

recruitment-task

task for the new generation of CATReloaded to proceed to the next stage

1. Write a code that takes a single string as input and print it reversed without using built in functions.

input

CAT

output

TAC

input

A

output

A

2. Implement a program that prints out a half-pyramid of height n, where n is an input. See input & output for illustration.

input

5

output

    #
   ##
  ###
 ####
##### 

3. Write a code that takes 2 integers n , k as inputs, converts n to binary, set the Kth bit in n to 0 and print the new n.

input

37 3

output

33

input

37 4

output

37

Submit

To submit your code you need to :

1- Copy / paste it in the ideone editor : https://ideone.com/

2- Select the proper programming language you've used

3- Enter one sample input for each problem in the "stdin" section (THIS STEP IS A MUST)

4- Click on Run

5- Copy the new webpage link

6- Submit it in the specified field in the form : https://goo.gl/forms/tTKwv0mtm6JJUjbf1

About

task for the new generation of CATReloaded to get accepted in the team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published