Skip to content

SanmithaShetty/LoveLocal_Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoveLocal_Assignment

Student Information

Name: Sanmitha Chitharanjan Shetty

College: St. Joseph Engineering College, Mangalore

Assignment Overview

This repository contains the code for three questions as part of the LoveLocal round 1 assignment.

Questions

[Question 1] Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only.

[Question 2 ] Given a binary search tree (BST), find the lowest common ancestor (LCA) node of two given nodes in the BST.

[Question 3 ] You are given a string s. You can convert s to a palindrome by adding characters in front of it. Return the shortest palindrome you can find by performing this transformation

Thank you!

About

Assignment for LoveLocal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages