Algorithms Made Easy May 10 Challenge

Overview

Algorithms-Made-Easy-May-Challenges

Algorithms Made Easy May 10 day 30 problems Challenge

Hi 👨‍🎓 , I'm Rohit Kumar Singh

All Leetcode Soluton

rohitkumarsingh369

Connect with me:

https://www.linkedin.com/in/rohitkumarsingh/

Languages Used:

java

Day 1:

  1. Question 1 : Find the first and last position of element in sorted array
Time Complexity Space Complexity
O(lon n) O(1)
  1. Question 2 : Powerful Integers
Time Complexity Space Complexity
O(N * M) O(N * M) where N=logx(bound) and M=logy (bound)
  1. Question 3: Brick Wall
Time Complexity Space Complexity
O(No.of Bricks) O(Width of wall)

Day 2:

  1. Question 1 : Prefix and suffix search

  2. Question 2 : Spiral Matrix

Time Complexity Space Complexity
O(row * col) O(row * col)
  1. Question 3: House Robber
Time Complexity Space Complexity
O(n) O(n)

Day 3:

  1. Question 1 : Search in rotated sorted array ii
Time Complexity Space Complexity
O(log n) O(1)
  1. Question 2 : Maximum product of two elements in an array
Time Complexity Space Complexity
O(n) O(1)
  1. Question 3: Course Schedule iii
Time Complexity Space Complexity
O(nlogn) O(n)

Day 4:

  1. Question 1 : Running sum of 1d array
Time Complexity Space Complexity
O(n) O(1)
  1. Question 2 : Sort List
Time Complexity Space Complexity
O(nlogn) O(logn)
  1. Question 3: Sort an Array
Time Complexity Space Complexity
O(nlogn) O(n)

Day 5:

  1. Question 1 : Se zero matrix
Time Complexity Space Complexity
O(n * n) O(1)
  1. Question 2 : Non decreasing array
Time Complexity Space Complexity
O(n) O(1)
  1. Question 3: Sudoku
Time Complexity Space Complexity
O(9^(n* n)) O(n * n)

Day 6:

  1. Question 1 : Convert sorted list to binary search tree
Time Complexity Space Complexity
O(n ) O(1)
  1. Question 2 : Jump game ii
Time Complexity Space Complexity
O(n) O(1)
  1. Question 3: Longest word in dictionary
Time Complexity Space Complexity
O(n logn) O(n)

Day 7:

  1. Question 1 : Delete Node in a BST
Time Complexity Space Complexity
O(height ) O(1)
  1. Question 2 : Subsets

  2. Question 3: Delete operation for two strings

Time Complexity Space Complexity
O(mn) O(mn)

Day 8:

  1. Question 1 : Rotate Image
Time Complexity Space Complexity
O(n * n ) O(1)
  1. Question 2 : Rotate Array
Time Complexity Space Complexity
O(n) O(1)
  1. Question 3: Reverse Nodes in K group
Time Complexity Space Complexity
O(n) O(n/k)

Day 9:

  1. Question 1 : Reverse Integer
Time Complexity Space Complexity
O(n) O(1)
  1. Question 2 : Super Palindrome

  2. Question 3: 3 Sum

Time Complexity Space Complexity
O(nlogn) O(n * n)

Day 10:

  1. Question 1 : Single Number
Time Complexity Space Complexity
O(n) O(1)
  1. Question 2 : Single Number ii
Time Complexity Space Complexity
O(n) O(1)
  1. Question 3: Trapping Rain Water
Time Complexity Space Complexity
O(n) O(1)
You might also like...

This JAVA repository contains solutions for common algorithms and problems.

This JAVA repository contains solutions for common algorithms and problems.

JAVA-Algorithms 🚀 Description Beep Boop! Boop Beep!. I have created this repository to improve my Logical thinking skills & Knowledge in programming.

Apr 11, 2022

One-Stop Destination for codes of all Data Structures & Algorithms

CodingSimplified_GK This repository is aimed at creating a One stop Destination of codes of all Data structures and Algorithms along with basic explai

Sep 26, 2022

Data Structures and Algorithms (DSA) - Java Language Using Integrated Development Environments NetBeans

Data Structures and Algorithms (DSA) Course Code : CSC211 Credit Hours : 4 Language : JAVA Integrated development environments : NETBEANS Topic Covere

Oct 1, 2022

Simple ATM Machine made with Java

Output / Preview Enter your account number: Enter your pin number: ATM main menu: 1. - View Account Balance 2. - Withdraw funds 3. - Add funds 4. - T

Oct 21, 2021

Path Finding Visualizer for Breadth first search, Depth first search, Best first search and A* search made with java swing

Path Finding Visualizer for Breadth first search, Depth first search, Best first search and A* search  made with java swing

Path-Finding-Visualizer Purpose This is a tool to visualize search algorithms Algorithms featured Breadth First Search Deapth First Search Gready Best

Oct 20, 2022

Program made to organize CDA and Petitições

Program made to organize CDA and Petitições

CDA-Splitter The project has been created with the intuit of simplify the organization of CDAs and Petições for the sector of Execução Fiscal of the p

Nov 4, 2022

Easy to use, very low overhead, Java APM

Glowroot Requirements Java 8+ Quick start Download and unzip glowroot-0.14.0-beta.2-dist.zip Add -javaagent:path/to/glowroot.jar to your application's

Dec 14, 2022

An evil RMI server that can launch an arbitrary command. May be useful for CVE-2021-44228

evil-rmi-server An evil RMI server that can launch an arbitrary command. May be useful for CVE-2021-44228 in a local privesc scenario Build ./gradlew

Nov 9, 2022

MessageEngine by afkvido. Alpha test is the most updated but may contain many bugs

MessageEngine Alpha Alpha Testing This is the most frequently updated, fresh, and potentially most glitchy version of MessageEngine. This version will

Feb 7, 2022

Very briefly capturing some of new/ update in API that were introduced after Java 8 that may come handy for dev folks while programming

Very briefly capturing some of new/ update in API that were introduced after Java 8 that may come handy for dev folks while programming. Also have created tests demonstrating those APIs and playaround with it.

Jan 24, 2022

Repository for FIRST Tech Challenge team 3916 Apex Robotics for the 2021-2022 game year (Freight Frenzy)

FTC Team 3916 - Apex Robotics This is our repo for the 2020-2021 game year - Ultimate Goal Installation Clone this repo. You can do this through the w

Nov 4, 2021

This is a Bukkit-Event based AntiCheat created cause of a challenge.

XAC - XAntiCheat This is a Bukkit-Event based AntiCheat made out of a challenge with a friend of mine. Its not recommandable to use and also a bit exp

Apr 6, 2022

30 Days Coding Challenge with Arsh Goyal.

#ReviseWithArsh #6Companies30Days #ArshGoyal #ReviseWithArsh #6Companies30Days Challenge! Offical Doc:- Explore the docs » Offical Video:- Explore the

Jan 3, 2023

6-Companies-in-30-Days - A challenge 💪 by Arsh Goyal

6-Companies-in-30-Days - A challenge 💪 by Arsh Goyal 1st Company - Goldman Sachs Q.1 Print Anagrams Together -- Solution Q.2 Overlapping rectangles

Jan 6, 2022

Desafio Alura Challenge para backend. Criando uma API REST de controle de orçamento utilizando JAVA.

Desafio Alura Challenge para backend. Criando uma API REST de controle de orçamento utilizando JAVA.

Jun 16, 2022

Challenge: Learn Object Oriented Programming in Practice

Challenge: Learn Object Oriented Programming in Practice The main objective is to put into practice one of the main tools of OO: ABSTRACTION, ENCAPSUL

Sep 4, 2022
Owner
Rohit Kumar Singh
Rohit Kumar Singh
java deep learning algorithms and deep neural networks with gpu acceleration

Deep Neural Networks with GPU support Update This is a newer version of the framework, that I developed while working at ExB Research. Currently, you

Ivan Vasilev 1.2k Jan 6, 2023
Graph Algorithms Repository for Coding Minutes Course.

graph-algorithms-for-competitive-coding Graph Algorithms Repository for Coding Minutes Course. This is the repository for Graph Algorithms Course for

Coding Minutes 126 Dec 28, 2022
联邦学习系统,包括常用算法和通用训练推理系统框架 | Fedlearn Main System, Including Algorithms and Frameworks for Training / Inference.

fedlearn 京东科技联邦学习系统 系统包含包含控制端(即前端)、协调端、单点客户端和分布式客户端等 1.代码结构 代码分为多个模块 assembly 整体代码打包模块,无实际功能 client 单机版客户端 common 公共包,实体和工具定义 coordinator 协调端,负责协调多个参与

null 57 Dec 31, 2022
This repository consists of the code samples, assignments, and the curriculum for the Community Classroom complete Data Structures & Algorithms Java bootcamp.

DSA-Bootcamp-Java Subscribe to our channel Complete Playlist Syllabus Discord for discussions Telegram for announcements Connect with me     Follow Co

Kunal Kushwaha 10.2k Jan 1, 2023
Welcome 🙌! This repository encourages daily contributions from anyone intending to learn Data Structures and Algorithms every day

?? DSA-Community Welcome ?? ! This repository encourages daily contributions from anyone intending to learn Data Structures and Algorithms consistentl

Bishal Mohari 4 Sep 9, 2022
oj! Algorithms - ojAlgo - is Open Source Java code that has to do with mathematics, linear algebra and optimisation.

oj! Algorithms oj! Algorithms - ojAlgo - is Open Source Java code that has to do with mathematics, linear algebra and optimisation. General informatio

Optimatika 403 Dec 14, 2022
A visual representation of labyrinth solving with common traversal and heuristic algorithms + basic AI patterns

Path-finder A visual representation of labyrinth solving algorithms using common traversal algorithms such as BFS, DFS, A*. Plus there are some basic

Janez Sedeljšak 2 Jan 19, 2022
This is a tool to visualize search algorithms

Path-Finding-Visualizer Purpose This is a tool to visualize search algorithms Algorithms featured Breadth First Search Deapth First Search Gready Best

Leonard 11 Oct 20, 2022
Algorithms in Java

Algorithms-In-Java 'Algorithms in Java' keeps programs from the "Algorithms and data structures" held at the University of Technology in Wrocław (Poli

null 1 Jan 25, 2022
This repository holds the famous Data Structures (mostly abstract ones) and Algorithms for sorting, traversing, and modifying them.

Data-Structures-and-Algorithms About Repo The repo contains the algorithms for manipulating the abstract data structures like Linked List, Stacks, Que

Zaid Ahmed 14 Dec 26, 2021