Open in app

Sign In

Write

Sign In

Isabelle
Isabelle

216 Followers

Home

About

Published in JEN-LI CHEN IN DATA SCIENCE

·Pinned

Codewars SQL

Codewars SQL Challenge: Two actors who cast together the most Given the the schema presented below find two actors who cast together the most and list titles of only those movies they were casting together. Order the result set alphabetically by the movie title. Table film_actor Column | Type…

Codewars

2 min read

Codewars

2 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Pinned

Leetcode Algorithm

Leetcode Algorithm Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element is distinct. Example 1: Input: [1,2,3,1] Output: true Example 2: Input: [1,2,3,4] Output…

Leetcode

1 min read

Leetcode

1 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Jun 21, 2021

Leetcode

39. Combination Sum Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order. The same number may be chosen from candidates an unlimited number…

Leetcode

2 min read

Leetcode

2 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Jun 18, 2021

Leetcode

21. Merge Two Sorted Lists Merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of the first two lists. Example 1: Input: l1 = [1,2,4], l2 = [1,3,4] Output: [1,1,2,3,4,4] Example 2: Input: l1 = [], l2…

Leetcode

2 min read

Leetcode
Leetcode
Leetcode

2 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·May 21, 2021

Leetcode

360. Sort Transformed Array Given a sorted integer array nums and three integers a, b and c, apply a quadratic function of the form f(x) = ax2 + bx + c to each element nums[i] in the array, and return the array in a sorted order. Example 1: Input: nums…

Leetcode

1 min read

Leetcode

1 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·May 13, 2021

Leetcode

1196. How Many Apples Can You Put into the Basket You have some apples, where arr[i] is the weight of the i-th apple. You also have a basket that can carry up to 5000 units of weight. Return the maximum number of apples you can put in the basket. Example…

Leetcode

1 min read

Leetcode

1 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Apr 27, 2021

HackerRank Python

Capitalize! You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For example, alison heck should be capitalised correctly as Alison Heck. Given a full name, your task is to capitalize the name appropriately. Input Format A single line of input containing the full name, S. Constraints 0 < len(S) < 1000 The string consists of alphanumeric characters and spaces.

Hackerrank

1 min read

Hackerrank

1 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Apr 23, 2021

HackerRank Python

Nested Lists Given the names and grades for each student in a class of students N, store them in a nested list and print the name(s) of any student(s) having the second lowest grade. Note: If there are multiple students with the second lowest grade, order their names alphabetically and print each…

Hackerrank

1 min read

Hackerrank

1 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Apr 22, 2021

Leetcode SQL

262. Trips and Users Table: Trips +-------------+----------+ | Column Name | Type | +-------------+----------+ | Id | int | | Client_Id | int | | Driver_Id | int…

Leetcode

3 min read

Leetcode

3 min read


Published in JEN-LI CHEN IN DATA SCIENCE

·Apr 22, 2021

Write a function

An extra day is added to the calendar almost every four years as February 29, and the day is called a leap day. It corrects the calendar for the fact that our planet takes approximately 365.25 days to orbit the sun. A leap year contains a leap day. In the…

Hackerrank

2 min read

Hackerrank

2 min read

Isabelle

Isabelle

216 Followers

In love with telling stories with data

Following
  • 數據分析那些事

    數據分析那些事

  • Towards AI Editorial Team

    Towards AI Editorial Team

  • Eryk Lewinson

    Eryk Lewinson

  • Yeh James

    Yeh James

  • LiveRunGrow

    LiveRunGrow

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech