Open in app

Sign In

Write

Sign In

No one knows I’m a geek
No one knows I’m a geek

8 Followers

Home

About

Jun 3, 2022

LeetCode 581. Shortest Unsorted Continuous Subarray

Problem: Given an integer array nums, find the smallest subarray that needs to be sorted (ascending) in order for the whole array to be sorted. Return the length of the subarray. Example: Input: nums = [2,6,4,8,10,9,15] Output: 5 Explanation: You need to sort [6, 4, 8, 10, 9] in ascending order to make…

Leetcode

2 min read

Leetcode

2 min read


Jun 2, 2022

LeetCode 135. Candy

This is a hard question that has many different solutions. In this article, I’ll discuss two of them. The first one is more intuitive and the second one is more succinct, but harder to come up with. The question is as follows: We have n children standing in a line…

Leetcode

3 min read

Leetcode

3 min read


Jun 1, 2022

LeetCode 1650. Lowest Common Ancestor of a Binary Tree III

This question is one of the variations of the “Lowest Common Ancestor of a Binary Tree” problem and goes as follows: Given two nodes of a binary tree nodeA and nodeB, return their lowest common ancestor (LCA). …

Leetcode

2 min read

Leetcode

2 min read


Feb 3, 2021

Bitcoin Indicator: Net Unrealised Profit/Loss

Facing the rapid expansion of the crypto space and the recent huge price actions on Bitcoin and altcoins, investors might find it helpful to look at several indicators which can help evaluate the current market situation. …

Bitcoin

2 min read

Bitcoin Indicator: Net Unrealized Profit/Loss
Bitcoin Indicator: Net Unrealized Profit/Loss
Bitcoin

2 min read


Dec 21, 2020

Deploy Django App With Docker and Gunicorn in 3 Easy Steps

In our last article, we showed you how to create a simple Django app in 5 steps. If you haven’t read it yet, go ahead and check it out! Create a simple Django Backend App in 5 Steps Django is an incredibly powerful and popular web framework with tons of plugins available and a large community. It can…iamageek.medium.com Starting the server with “python manage.py runserver” is only suitable for development purposes and not ideal for production. In this article…

Django

2 min read

Django

2 min read


Dec 21, 2020

Create a simple Django Backend App in 5 Steps

Django is an incredibly powerful and popular web framework with tons of plugins available and a large community. It can be used to develop a complete website or as many people do, pure backend apps. As for the UI, they might opt for a JavaScript framework like React.js or Vue.js…

Django

3 min read

Django

3 min read


Dec 16, 2020

Image Retrieval Using Pre-trained ResNet in 5 Steps

Got an image and wanna find similar images from your image folder or database? Image retrieval can be very useful in a lot applications. …

Image Retrieval

3 min read

Image Retrieval Using Pre-trained ResNet in 5 Steps
Image Retrieval Using Pre-trained ResNet in 5 Steps
Image Retrieval

3 min read


Sep 23, 2020

Install Kubeflow in 10 Steps on MacOS

Kubeflow is a great tool to implement and deploy Machine Learning pipelines on a Kubernetes cluster. It supports a lot of cloud platforms, but developers might want to experiment with it before deploying the pipeline to the cloud. However, installation can be quite tricky. In this article, I will share…

Machine Learning

2 min read

Machine Learning

2 min read

No one knows I’m a geek

No one knows I’m a geek

8 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech