Git Product home page Git Product logo

jamalie's Projects

calendarview icon calendarview

A completely-customizable Android calendar view to replace the stock one.

commonend icon commonend

Given 2 arrays of ints, a and b, return True if they have the same first element or they have the same last element. Both arrays will be length 1 or more.

deepreverse icon deepreverse

deepReverse(L) takes as input a list of elements where some of those elements may be lists themselves.

dotproduct icon dotproduct

dot(L, K) should output the dot product of the lists L and K.

f2c icon f2c

f2c converts a temperature f in Fahrenheit to its Celcius equivalent.

firstlast6 icon firstlast6

Given an array of ints, return True if 6 appears as either the first or last element in the array. The array will be length 1 or more.

frontbackstring icon frontbackstring

Given a string, return a new string where the first and last chars have been exchanged.

fronttimes icon fronttimes

Given a string and a non-negative int n, we'll say that the front of the string is the first 3 chars, or whatever is there if the string is less than length 3. Return n copies of the front

ind icon ind

ind should return the index at which e is first found in L.

intersect icon intersect

intersect(s1, s2), where s1 and s2 are lists representing sets, computes and returns a list representing the intersection of the two sets.

letterscore icon letterscore

LetterScore returns score of letter in supplied list of letter-score pair.

lonesum icon lonesum

Given 3 int values, a b c, return their sum.

makebricks icon makebricks

We want to make a row of bricks that is goal inches long. We have a number of small bricks (1 inch each) and big bricks (5 inches each). Return True if it is possible to make the goal by choosing from the given bricks.

makes10 icon makes10

Given 2 ints, a and b, return True if one if them is 10 or if their sum is 10.

maxend3 icon maxend3

Given an array of ints length 3, figure out which is larger between the first and last elements in the array, and set all the other elements to be that value

missingchar icon missingchar

Given a non-empty string and an int n, return a new string where the char at index n has been removed

monkeytrouble icon monkeytrouble

We have two monkeys, a and b, and the parameters a_smile and b_smile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return True if we are in trouble.

myfilter icon myfilter

The filter function returns a new list that contains all of the elements of L for which the predicate returns True

nearhundred icon nearhundred

Given an int n, return True if it is within 10 of 100 or 200.

nearten icon nearten

Given a non-negative number "num", return True if num is within 2 of a multiple of 10.

noteensum icon noteensum

Given 3 int values, a b c, return their sum. However, if any of the values is a teen -- in the range 13..19 inclusive -- then that value counts as 0, except 15 and 16 do not count as a teens.

parrottrouble icon parrottrouble

We have a loud talking parrot. The "hour" parameter is the current hour time in the range 0..23. We are in trouble if the parrot is talking and the hour is before 7 or after 20. Return True if we are in trouble.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.