I hereby claim:
- I am adeekshith on github.
- I am adeekshith (https://keybase.io/adeekshith) on keybase.
- I have a public key ASDaFYYNIw727fCxfwv9n9rKdpw8eTJcPUGzxQe1uZ2QuQo
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="" /> | |
| <link | |
| rel="stylesheet" | |
| as="style" | |
| onload="this.rel='stylesheet'" | |
| href="https://fonts.googleapis.com/css2?display=swap&family=Inter%3Awght%40400%3B500%3B700%3B900&family=Noto+Sans%3Awght%40400%3B500%3B700%3B900" | |
| /> |
| #!/bin/bash | |
| set -euo pipefail | |
| # Optional: Set to true to update the PR with the base branch before merging | |
| UPDATE_BEFORE_MERGE=true | |
| # Get current ISO timestamp minus 2 hours | |
| TWO_HOURS_AGO=$(date -u -d '2 hours ago' +"%Y-%m-%dT%H:%M:%SZ") |
| # Use the Jupyter Data Science Notebook base image | |
| FROM jupyter/datascience-notebook | |
| # Install Node.js and npm | |
| USER root | |
| # Install Node.js and npm | |
| RUN wget -qO- https://deb.nodesource.com/setup_20.x | bash - \ | |
| && apt-get install -y nodejs |
| #!/bin/bash | |
| echo "UTC: $(TZ='UTC' date +'%H:%M %Y-%m-%d %a')" | |
| echo "-------------------------" | |
| echo "EST: $(TZ='America/New_York' date +'%H:%M %Y-%m-%d %a')" | |
| echo "CST: $(TZ='America/Chicago' date +'%H:%M %Y-%m-%d %a')" | |
| echo "PST: $(TZ='America/Los_Angeles' date +'%H:%M %Y-%m-%d %a')" | |
| echo "-------------------------" | |
| echo "IST: $(TZ='Asia/Kolkata' date +'%H:%M %Y-%m-%d %a')" | |
| # Ref: Timezone abbreviations: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List |
| class Solution { | |
| public int maxProfit(int[] prices) { | |
| int maxProfit = 0; | |
| int prevBuy = Integer.MAX_VALUE; | |
| int maxSellPrice = Integer.MIN_VALUE; | |
| for (int buyDay=0; buyDay < prices.length; buyDay++) { | |
| int buyPrice = prices[buyDay]; | |
| if (buyPrice >= prevBuy && maxSellPrice >= buyPrice) { | |
| continue; | |
| } |
| #!/bin/bash | |
| # | |
| # Self-contained command line processing in bash that supports the | |
| # minimal, lowest common denominator compatibility of flag parsing. | |
| # -u: undefined variables is an error | |
| # -e: exit shell on error | |
| set -eu | |
| function usage() { |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "application" : { | |
| "name" : "Custom Search", | |
| "app_id" : "[email protected]", | |
| "version" : "v0.1" | |
| }, | |
| "search_engines" : [ | |
| { | |
| "category": "General", | |
| "name": "DuckDuckGo", |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.ListIterator; | |
| public class IntegerTest { | |
| public static void main(String[] args) { | |
| long startTime; | |
| long duration; | |
| long endTime; |
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |