Courses
Login
Start now
Courses
Login
Start now
Q&A Discussions
Search
Search
Ask a question
Ask a question
String s1 = new String ("Hi"); String s2 = new String("Hi"); Why s1 == s2 returns false ??
java
0 Votes
6 Answers
14th Sep 2017, 9:34 AM
Divya Vishwakarma
What is the difference between 1. String s1 = new String ("abc"); 2. String s1 = "abc"; ?
constructors
string
1 Vote
1 Answer
15th Mar 2019, 5:28 PM
Soma Venkata Sai Krishna
String s1 == string s2 produce the output as false while we assuming the same string in both s1 and s2..
c++
java
2 Votes
3 Answers
23rd Sep 2018, 8:13 AM
M.MANIVANNAN
s1 =[3,4] s2 =[1,2] s3=list() i=0 j=0 for i in s1: for j in s2: s3.append((i,j))
for
loops
nested
-4 Votes
35 Answers
31st May 2020, 7:10 PM
SAADAT ALI
s = input() def hashtagGen(text): s1 = s.replace(" " , "") return "#"+s1 print(hashtagGen(s))
python
1 Vote
8 Answers
22nd Jun 2022, 2:12 PM
Raj Jaiswal185
I have this program and it’s telling me theres a problem with the last s1
s1
sintax
1 Vote
8 Answers
1st Mar 2018, 3:22 PM
Camila Lancheros
s="hello" s1="elloh" if s1 in s+s: print("True") else: print("Fasle") How to implement this in Linked List ?
linkedlist
lists
python
python3
1 Vote
1 Answer
11th Feb 2022, 11:11 AM
Manoj Bhaagam
struct student { int age; int grade; char name[40]; }; int main() { struct student s1 ={ .age = 18,.grade = 7
c
0 Votes
3 Answers
27th Sep 2021, 6:26 AM
Gulafsha Syed
Не совсем понимаю что здесь написано reversed = names.sort( { s1, s2 in return s1 > s2 } )
closures
swift
1 Vote
1 Answer
4th Oct 2017, 8:39 PM
Yevhen Morkovin
intersect(s1, s2) where s1 and s2 are lists representing sets, computes and return a list representing the intersection of the t
lists
python
0 Votes
2 Answers
19th Sep 2016, 2:37 PM
Vinh Le
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
DSA doubt
1 Votes
Coding help
2 Votes
Bridge pattern use case
0 Votes
Hofstadter a sequence code coach is not running
0 Votes
Data structure using C
0 Votes
Input errors (python)
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes