• Stars
    star
    1
  • Language
  • Created about 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some people are standing in a row in a park. There are trees between them which cannot be moved. Your task is to rearrange the people by their heights in a non-descending order without moving the trees. People can be very tall!

More Repositories

1

find-the-area-of-a-polygon-for-a-given-n-js

task is to find the area of a polygon
2
star
2

-isLucky-js

icket numbers usually consist of an even number of digits. A ticket number is considered lucky if the sum of the first half of the digits is equal to the sum of the second half. Given a ticket number n, determine if it's lucky or not.
1
star
3

arrayMaximalAdjacentDifference-js

1
star
4

almostIncreasingSequence--js

Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one element from the array.
1
star
5

reverseInParentheses-js

Write a function that reverses characters in (possibly nested) parentheses in the input string.
1
star
6

Java-Output-Formatting

padding
1
star
7

addBorder-js

Given a rectangular matrix of characters, add a border of asterisks(*) to it.
1
star
8

firstcode101

The first code am gonna write in Git Hub
Java
1
star
9

checkPalindrome-js

Given a string, check if it is a palindrome.
1
star
10

boxBlur-js

1
star
11

Java-Datatypes

working with the primitives used to hold integer values (byte, short, int, and long)
1
star
12

evenDigitsOnly-js

1
star
13

Java-String-Reverse

getting a palindrome
1
star
14

areSimilar-js

1
star
15

Java-Anagram

how to check if two words are anagrams
1
star
16

Java-Loops-

basic looping
1
star
17

avoidObstacles-js

1
star
18

Java-Stdin-and-Stdout-II

understanding of the nextLine() functionality in java
1
star
19

Java-Loops

cool looping
1
star
20

Java-Strings

sorting through Strings and uppercasing the first characters
1
star
21

palindromeRearranging-js

1
star
22

Java-If-Else

hacker rank question
1
star
23

Angular_assignment_2

TypeScript
1
star
24

Java-Substring

Printing the substring in an inclusive range
1
star
25

Java-End-of-file

reading n lines of input
1
star
26

arrayReplace-js

1
star
27

Pattern-Syntax-Checker

1
star
28

Java-Currency-Formatter

convertion into the US, Indian, Chinese, and French currency formats.
1
star
29

matrixElementsSum

Given matrix, a rectangular matrix of integers, where each value represents the cost of the room, your task is to return the total sum of all rooms that are suitable for the CodeBots (ie: add up all the values that don't appear below a 0).
1
star
30

Java-String-Tokens

splitting a string into tokens
1
star
31

Returning-a-century-in-js

Given a year, return the century it is in.
1
star
32

allLongestStrings-js

Given an array of strings, return another array containing all of its longest strings.
1
star
33

Java-Static-Initializer-Block

Static initialization blocks.
1
star
34

commonCharacterCount-js

Given two strings, find the number of common characters between them.
1
star
35

Java-Date-and-Time

converting between a specific instant in time
1
star
36

areEquallyStrong-js

1
star
37

arrayChange-js

1
star
38

alternatingSums-js

You are given an array of positive integers - the weights of the people. Return an array of two integers, where the first element is the total weight of team 1, and the second element is the total weight of team 2 after the division is complete.
1
star
39

adjacentElementsProduct-js

find the pair of adjacent elements that has the largest product and return that product.
1
star