20 Commits
Author SHA1 Message Date
Yadukrishnan fb121ee632 Used the correct method in test 2024-04-25 15:12:24 +05:30
Yadukrishnan 6d61ab3761 Added another approach for the calculation 2024-04-25 09:44:27 +05:30
Yadukrishnan 03aaa9ceeb Added code to calculate twos complement of a number 2024-04-25 09:28:10 +05:30
Yadukrishnan 86fa1a3a5f rename test to follow coding standard 2024-04-14 08:22:03 +02:00
Yadukrishnan 0b456e3b4e Added condition for divide by zero check 2024-04-10 22:43:46 +02:00
Yadukrishnan 443829bc4f Added condition for divide by zero check 2024-04-10 21:57:04 +02:00
Yadukrishnan 2b430714bb Added condition for divide by zero check 2024-04-10 08:11:11 +02:00
Yadukrishnan 423e60577d Used records intead of plain class 2024-04-09 22:04:14 +02:00
Yadukrishnan 9ddceb29f1 Added subtract and divide operations 2024-04-09 09:00:01 +02:00
Yadukrishnan cdf1bcdc0e Added the test case for complex number addition 2024-04-07 21:53:33 +02:00
Yadukrishnan 999ff99f97 Moved ComplexNumber to main source 2024-04-07 21:50:25 +02:00
Yadukrishnan bb499f340c simplified the parsing using regex 2024-04-07 21:40:20 +02:00
Yadukrishnan aabaaf5ec9 removed unused imports 2024-04-07 21:35:59 +02:00
Yadukrishnan 1ede00ad50 Fixed the issue with some formats 2024-04-07 21:35:11 +02:00
Yadukrishnan eed82faf31 adjusted test data 2024-04-07 21:07:38 +02:00
Yadukrishnan c944722402 Added sample code for complex number addition and multiplication 2024-04-07 21:06:27 +02:00
Yadukrishnan 968fb13fcd added more test cases 2024-02-25 09:49:58 +01:00
Yadukrishnan 9b0681f0cf added more test cases 2024-02-25 09:49:02 +01:00
Yadukrishnan 4414eed69a changed methods to static methods 2024-02-21 20:52:37 +01:00
Yadukrishnan e9ce6f7741 Added code sample and test for getting initials for a name 2024-02-21 18:24:36 +01:00